split string and replace token
CrusoeJul 1 2009 — edited Jul 1 2009Dear all,
I have a field called "FreeText" which contains data which is more or less in the following format.
"1NEWTON/ISAACSIR NO DAIRY PRODUCTS AND NO PEANUTS PREFERS A FRUIT ONLY DIET"
it contains the name of a person followed by some text. I would like to tokenise this using space as separator and then separate the first token from the rest of it. The expected output would be two columns containing.
"1NEWTON/ISAACSIR" and the second column
"NO DAIRY PRODUCTS AND NO PEANUTS PREFERS A FRUIT ONLY DIET"
Thanks and regards
Crusoe