I have only 1 line without feed (CRLF CRLF), the line of the line is a line of 4 characters, in this example it is "@A $ 3". Right now I don't need dlm and I need to import it from an external file (/files/Example.txt)
JOSH 30JUL1984 1011 SPANISH@A$3RACHEL 29OCT1986 1013 MATH@A$3JOHNATHAN 05JAN1985 1015 chemistry
I need this line in 3 lines:
JOSH 30JUL1984 1011 SPANISH
RACHEL 29OCT1986 1013 MATH
JOHNATHAN 05JAN1985 1015 chemistry
How can I do this in SAS?
* Added: your solutions work with this example, but I have a problem, a string that contains more than the maximum length allowed for the string (32,767 bytes),
For example, this line in the above exercise contains 5,000 entries.
Is it possible?
source
share