Difference between revisions of "Sv Find"
m
Added sentence about return value when substring not found.
imported>CSbot (Automated import of articles) |
imported>AndalayBay m (Added sentence about return value when substring not found.) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
| summary = Returns the index of the first occurrence of a substring within a string variable, starting at the specified position and only including occurrences contained completely within the range <nowiki>[</nowiki>''startPos'', ''startPos + searchLen''<nowiki>]</nowiki>. Omit the arguments to search the entire string without regard to case. | | summary = Returns the index of the first occurrence of a substring within a string variable, starting at the specified position and only including occurrences contained completely within the range <nowiki>[</nowiki>''startPos'', ''startPos + searchLen''<nowiki>]</nowiki>. Returns -1 if the substring is not found in the string variable. Omit the arguments to search the entire string without regard to case. | ||
| name = sv_Find | | name = sv_Find | ||
| returnVal = index | | returnVal = index |