Android Question Syntax to break a long string into multiple line

incendio

Well-Known Member
Licensed User
Longtime User
Hi guys,

Sorry for noob question, what is the syntax to break long string into multiple line ?
For ex :
B4X:
Str = "this is a long string that needs to break into multiple line"

I want to write in code :
B4X:
Str = "this is a long string that needs " &
      "to break into multiple line"

Tried to search, but didn't find.
 

incendio

Well-Known Member
Licensed User
Longtime User
Thanks Erel, I need to remind my self that there is a space before _!
Without space it raised Error.
 
Upvote 0

Dave O

Well-Known Member
Licensed User
Longtime User
It would be handy to add a Break Line to the Edit menu, where it was broken at the cursor and added the underscore.

Would make this more visible and easier to learn.
 
Upvote 0
Top