OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


WORDINDEX




 >>---WORDINDEX(string,n)--------><

WORDINDEX returns the position of the first character in the n th 
blank-delimited word in string. n must be a positive whole number. If 
there are fewer than n words in the string, 0 is returned. 
Here are some examples: 

WORDINDEX('Now is the time',3)    ->    8
WORDINDEX('Now is the time',6)    ->    0
  

Inf-HTML End Run - Successful