The search method searches a string for a specified value, or regular expression, and returns the position of the match.
System.Array search( searchvalue);
searchvalue
A regular expression or string.
Returns a number which represents the position of the first occurrence, otherwise, -1.
Member of string.