You are viewing the documentation for an older COMSOL version. The latest version is available here.
String Methods
String methods are used to process string variables and string arrays.
Concatenates the given string matrix (which can be given as a varargs of rows) into a single string. Puts colSepar between values of columns of a row, and rowSepar between rows.
Returns true if the given string array strs contains the given string str.
Returns the index to the first occurrence of str in strs or -1 if no match.
Returns the first index of str that is the start of the substring toFind. If there is no substring matching toFind in str, -1 is returned.
Returns a string where orig has been replaced by replacement.