4.7.4 String functions

concat( str1, ..., strn)
Returns a concatenated string.

format( pattern, val1, val2, ..., valn)
Returns a formatted string (similar to the C function sprintf()). Any occurance of the character % followed by a letter is replaced by a value. In this implementation it doesn't matter what letter you are actually using (in the Shading Language it would be %f for floats, %p for points, vectors or normals, %c for colors, %m for matrices and %s for strings).

match( pattern, subject)
String pattern matching.

printf( pattern, val1, val2, ..., valn)
Prints the values of the specified variables. Any occurance of the character % followed by a letter is replaced by a value. In this implementation it doesn't matter what letter you are actually using (in the Shading Language it would be %f for floats, %p for points, vectors or normals, %c for colors, %m for matrices and %s for strings).