next up previous contents index
Next: FLOOR Up: A Function Reference Previous: FILEEXISTS

FIND

 

Syntax: @FIND(S1, S2, N)

S1 = a string value
S2 = a string value
N = a numeric value

@FIND returns the index of the first occurrence of string S1 in string S2, starting the search at position N in string S2. Note that the string index always starts with 0.

Examples:

@FIND(``bc'', ``abcdefg'', 0) = 1

@FIND(V1, V2, 5) = 9, where V1 = ``Functions'', and V2 = ``Built-in Functions''

@FIND(V1, V2, 5) = Error - @FIND, substring not found, where V1 = ``Built-in'' and V2 = ``Functions''


next up previous contents index
Next: FLOOR Up: A Function Reference Previous: FILEEXISTS

NExS User's Guide, Version 1.4.5
Grey Trout Software
11 April 1999