OS/2 Procedures Language 2/REXX


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


WORD




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

WORD returns the n th blank-delimited word in string. n must be a positive 
whole number. If there are fewer than n words in string, the null string 
is returned. This function is equivalent to SUBWORD(string,n,1). 
Here are some examples: 

WORD('Now is the time',3)    ->    'the'
WORD('Now is the time',5)    ->    ''
  

Inf-HTML End Run - Successful