word search
Joe Chasan
joe at magnatechonline.com
Thu Apr 21 08:46:47 PDT 2005
On Thu, Apr 21, 2005 at 10:34:06AM -0500, Richard D. Williams wrote:
> Is there a way to locate the starting position of a word in a text field?
> I have tried using strtok, but it finds the position of the first
> character of the word.
> i.e. string = "This is a test.", find "test", it return the number "1".
> The first occurance of the letter t.
try INSTR instead of STRTOK
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe at magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
More information about the Filepro-list
mailing list