Splitting strings

x0reset

Registered User.
Local time
Today, 04:43
Joined
Nov 14, 2005
Messages
52
I am normalizing data from a spreadsheet of just over 4000 records. The spreadsheet has a "Model" field that contains both the model number and a model description, separated by a space. I would like to split this field into two different fields: "Model_Number" and "Model_Description". The model number is one word of varying lenths.

Any ideas?
 
Hum... Use InStr find the postion of the space, then use that with the right and left functions to split the string...

Would this work?
 
not necessary.
use the split function instead.
 
I can't seem to find the correct syntax for the split function. Think you could post an example for me?

Thanks!
 
Hey Ken, your method works like a charm! Thanks much!
 
varArray=split(variable,"string to split on")
now it's in an array..
 

Users who are viewing this thread

Back
Top Bottom