Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lmsilva
Visitor

How to do a line break on a string?

Dear all,

I'm having some trouble breaking a line in BrightScript. How do you do it?
In other systems, we usually use a \n for new line or \r\n (for carriage return + new line) but when I pass the \n, I can see it in the display (instead of actually getting a new line).
I've searched the forum and the SDK docs for "new line", "line break", etc, but I cannot find any information on how to do it...

Any thoughts?

Thanks,
Luis
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: How to do a line break on a string?

0 Kudos
lmsilva
Visitor

Re: How to do a line break on a string?

Thank you so much!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.