Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting formatted text into a string
#2
Paste in QM, select, right click the selection bar, assign to a variable.

Code:
Copy      Help
str s=
;This is the first sentence of a one sentence paragraph.
;
;This is the first sentence of the second paragraph. This is the second and notice how there is no paragraph return or spaced between the sentences.
;
;This is the third paragraph's first sentence. etc

out s

If there are lines that begin with tabs, make sure that spaces are before tabs. When you right click, QM inserts spaces after tabs, and this terminates the string.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)