Case sensitive

Stephane Morisse's icon

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 ?

Max Patch
Copy patch and select New From Clipboard in Max.

Mathieu Chamagne's icon

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 !) :

Max Patch
Copy patch and select New From Clipboard in Max.

Mathieu

Stephane Morisse's icon

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...