Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference
string-search
  | Type: | - | predicate function (subr) | 
  | Source: | - | xlstr.c | 
Syntax
- (string-search pattern string &key :start :end)
- 
pattern - a string to search for
 string - the string to be searched
 :start integer - the starting offset in string
 :end integer -  the ending offset + 1
 returns - index of pattern in string or NIL if not found
Description
 The 'string-search' function searches for 'pattern' in
'string' and returns the index of the first 'pattern' found in 'string' or
NIL if no pattern was found.
Examples
  Back to Top
Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference