Difference between revisions of "Sv Find"

28 bytes added ,  11:27, 13 October 2010
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:
{{BotAddedPage|CSbot|DragoonWraith}}
{{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
Anonymous user