06-24-2013 11:56 PM
I need help with the following:
I have one variable (string) in a dataset with variable name Record. eg.
automation:The use of largely automatic equipment in a system of manufacturing or other production process
I need to break it into two variables, namely word (automation), and meaning (everything after colon). Could someone tell me a clean way of doing this in SAS.
06-25-2013 12:37 AM
pls try this code.
data test_1 (drop = cust_name);
Fisrt_Name = scan(cust_name,1,'|');
Last_name = scan(cust_name,-1,'|');
Need further help from the community? Please ask a new question.