Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing Data
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Parsing Data
Miscellaneous
Thread ID:
00667640
Message ID:
00667640
Views:
58
I have a table that has been given to me to strip data into seperate fields
The table has one field that contains city,state and zip in one field and I need to seperate them into seperate fields. Normally I sue case statements an search for blank between the data, but ths has become tedious and ineffective. The reason being mostly is that the data normally looks something like this: 'Upper Saddle River NJ 07458' with many trailing spaces to the right of the string. I tried RTRIM function Replace all citystatezip with RTRIM(CITYSTATEZIP) but that did not eliminate the trailing spaces.

Is there an easier way to parse out this data???
Next
Reply
Map
View

Click here to load this message in the networking platform