Welcome to %s forums

BrainModular Users Forum

Login Register

newline in string

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 18 Nov 2009, 02:33

I'm wanting to concatenate a bunch of strings, and have each one show up on a new line of a textfield.

Is there a way to put a new line in a string?

Thanks!
-eric
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 18 Nov 2009, 08:52

Don't have time to check right now, but IIRC you can separate lines just as you create a comma-delimited text for eg a combo box: "line1","line2","line3"
Bjørn S

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 20 Nov 2009, 04:18

Thanks, that does work. It's a bit odd that the quotes just disappear.....

It means a lot of concatenation, to put quotes around everything. maybe I'll create some scripts to take a number of inputs and add the quotes and commas.

(EDIT) wow, looks like that script has already been written! Excellent!

-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 344 guests