StridX(str2scan, search_str);
str2scan
search_str
num
If search_str was found in str2scan, a number indicating the position of the first character of the first occurrence of search_str is returned. The first character position in the string is 1.$a="Intelligent Output Management";
$b=stridx($a,"tell");$b="3"
OpenText StreamServe 5.6 | Updated: 2013-03-01 |