Welcome to %s forums

BrainModular Users Forum

Login Register

comparing text in scripts

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

Unread post by woodslanding » 09 Jan 2018, 21:40

I'm trying to get a boolean when comparing strings.

I've tried compareText, and '=' and uppercase(t1) = uppercase(t2) and nothing is giving a different result for T1='text1' and t2 = 'differentText' vs. t2='Text1' vs. t2 = 'text1'.

How can I get this to work? Stumped!

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

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 10 Jan 2018, 07:57

Never mind: user error! upperCase(trim(Text)) = works fine.
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 43 guests