首页 > 您有一个字符串“This is a test that
头像
ManKit
发布于 2021-05-09 14:34
+ 关注

您有一个字符串“This is a test that

you have a string "This is a test that has to be done using Javascript".Split into multiple lines of text without hyphenating words from right to left where the maximum length of the line is 20 characters(you can break only between words and the next line can't start with a space)

您有一个字符串“This is a test that has to be done using Javascript“。将文本分成多行,不从右到左连字符,其中行的最大长度为20个字符(只能在单词之间断开,下一行不能以空格开头)
"using Javascript
that has to be done
This is a test"

全部评论

(0) 回帖
加载中...
话题 回帖

推荐话题

相关热帖

近期热帖

近期精华帖

热门推荐