In article <[log in to unmask]>,
Jeff Vance <[log in to unmask]> wrote:
] Subject: Re: Word extraction CI evaluator function
] I should have been clearer, so I'll try again...
] :setvar buf "ftp.iii.net/ftp/pub/pub-site/tbs"
] :calc word(buf)
] ftp.iii.net/ftp/pub/pub-site/tbs <=== uses default word delims
] :calc word(buf,'.') <==== specify the word delim is "."
] ftp
] :calc word(buf,'.',2) <==== get the 2nd word from buf with "." as delim
] iii
] :calc word(buf,'/') <==== now "/" is the word delim
] ftp.iii.net
] :calc word(buf,'/',-1) <==== get last word in buf with "/" as delim
] tbs
] Hope this helps,
{Blink} Ah-so! Thanks for turning the lights on :-) That feels much better
now - sorry for the thick calcium deposits :-)
--
Regards -- Tony B. Shepherd -- [log in to unmask]