08-04-2011 02:33 AM
While reading the csv file which are having the spaces i am not able to read properly.
For Example my csv file has following column
when i am trying to read using the dlm=',' option i am getting the column as
Please assist what can be done.
08-04-2011 04:54 AM
I've ran a simple test using the data you mentioned and it seems to work fine. Can you post the rest of the lines from your input file, and the code you're using (altered to hide confidential data if necessary)?
My code is:
format a $10.;
format b $10.;
infile '~/test.csv' dlm=',';
input a $ b $;
Sample input file is attached.