AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
index STR,SUBSTR,POSITION
index STR,SUBSTR

Returns the position of the first occurrence of SUBSTR in STR at or
after POSITION.  If POSITION is omitted, starts searching from the
beginning of the string.  The return value is based at 0, or whatever
you've set the $[ variable to.  If the substring is not found, returns
one less than the base, ordinarily ™1.


[sh-index] Back to list of manuals