Multiple lines for long string

Is there an elegant way in the IDE to have a large string? In some language we can use “”" (triple ") like this

Var s As String = """ this is a large string this is a large string this is a large string this is a large string
 this is a large string this is a large string
 this is a large string this is a large string
 this is a large string this is a large string
 this is a large string this is a large string ""

In Xojo the only method I know is:

Var s As String = " this is a large string this is a large string this is a large string" +_
" this is a large string this is a large string this is a large string this is a large string" +_
"  this is a large string this is a large string this is a large string this is a large string" +_
"  this is a large string"

Either +_ or add a constant and rely on the property editor.

1 Like

I just saw it’s an old topic
Triple Quoted Strings - #8 by Beatrix_Willius