开发者

Spacing in a string

开发者 https://www.devze.com 2023-01-25 06:40 出处:网络
What is the character to use to Place a \'return\' in a string resource? IE:In the value of a string, \'/\' means there is no space before the 开发者_开发知识库words in the string....Is there a char

What is the character to use to Place a 'return' in a string resource?

IE: In the value of a string, '/' means there is no space before the 开发者_开发知识库words in the string....Is there a char to use that puts in a return so I can have the string displayed in multiple paragraphs?


You can use \n or if it's going to output to HTML, <br>


I'm not entirely sure what you mean by '/', but would a \n (newline character) work?

0

精彩评论

暂无评论...
验证码 换一张
取 消