str.search
Substring search. The method determines if the string has been found inside another string or not.
method  uint str.search (
str pattern,
uint flag
)
str pattern,
uint flag
)
Parameters
| pattern | Search string (pattern). | ||||||
| flag | Search flags. 
 | 
Return value
The method returns 1 if the substring is found, otherwise the return value is zero.
| Related links | Source |