Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding spaces with AT(serchST,' ')
Message
From
02/11/1999 13:10:16
Jp Steffen
Leadership Data Services
Des Moines, Iowa, United States
 
 
To
02/11/1999 13:05:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285569
Message ID:
00285574
Views:
20
You have your parameters mixed up
try this:

> place = AT(spc, m.namestr,1)

I do that all the time myself....
JP

>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 always = 0, which makes it hard to submit as an argument to SUBSTR()
>
>Thanks in advance for your help.
Previous
Reply
Map
View

Click here to load this message in the networking platform