11-01-2007 3:21 PM
Hi,
What I want to do is search a field (contains string) for '/' and anything before the '/' goes into one field and anything after '/' goes into another.
Do I want to use the split syntax?
11-01-2007 3:24 PM
11-01-2007 3:26 PM
DATA : names type char10 value 'sss/rrr',
name1 type char10,
name2 type char10,
DELIM type char1 value '/'.
SPLIT NAMES AT DELIM INTO name1 name2.