Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何在字符串中进行这样的换行:
这段文字一直持续 ......永远
可以有下一行的方法吗?
先感谢您 :)
您应该尝试\n在文本中添加(换行符),这应该换行
\n
"Text text\nNext Line Text"