Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Splitting names
Message
 
To
25/08/2002 07:33:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00693400
Message ID:
00693402
Views:
20
>Hi, all
>
> I imported an excel spreadsheet into VFP. I need to split a column that contains names into two separate columns. For example:
>
>Name Smith, John
>
>Into
>
>Last_name Smith
>First_name John
>
>Is there a function to do this?
>
>TIA,

You can not split columns on the import time. Instead you can add new columns to the resultant table and to fill them with split text. You can use AT(), LEFT(), SUBSTR() command to split the text.
Venelina Jordanova

Outsourcing IT Services Ltd.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform