Javascript String Functions
Can Be Used In Processing

Processing lacks any string functions but it can use Javascript string functions as shown in the above examples.

The last example shows that some of the string functions (but not all) can use regular expressions. "/o/g" means every instance of "o".

The processing source file