Forums > MaxMSP

Case sensitive

August 31, 2012 | 7:58 am

I made this patch to perform keyword based search in the names of the scenes of a liveset and select the first scene containing that keyword. For now the search is case sensitive, is there a way to make that this is not the case ?

– Pasted Max Patch, click to expand. –

August 31, 2012 | 8:29 am

Hi Stephane,

I would convert all strings to lower case before performing search ;
you can do this with javascript in [jstrigger] (thanks Luke Hall for this example !) :

– Pasted Max Patch, click to expand. –

Mathieu


August 31, 2012 | 8:47 am

Merci Mathieu ! This will directly be pasted in the patch I sent you yesterday in my mail ! As I don’t speak Javascript, I’ll stick to vexpr for now…


Viewing 3 posts - 1 through 3 (of 3 total)