Make your own free website on Tripod.com
3.2.61. WORDINDEX(string,wordno)

Returns the character position of the first character of blank
delimited word number wordno in string, which is interpreted as a
string of blank delimited words.  If number (which must be a
positive whole number) refers to a word that does not exist in
string, then 0 is returned.

     WORDINDEX(‘To be or not to be’, 3) –>   ‘7’
     WORDINDEX(‘To be or not to be’, 4) –>   ‘10’
     WORDINDEX(‘To be or not to be’, 8) –>   ‘0’



PREV NEXT