Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding spaces with AT(serchST,' ')
Message
From
02/11/1999 13:09:08
 
 
To
02/11/1999 13:05:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285569
Message ID:
00285573
Views:
20
>I have the unpleasent task of moving data from an old flat access table into normalised tables. I need to get two parts out of a string into one field each.
>
> old value m.namestr = "John Doe"
> into first_name and last_name
> spc = ' '
> place = AT(m.namestr, spc,1)
> place always = 0, which makes it hard to submit as an argument to SUBSTR()
>
>Thanks in advance for your help.

You'll want to look at the words and wordnum from foxtools.
Previous
Reply
Map
View

Click here to load this message in the networking platform