Can anyone give me an example on the getline/subst commands?
Example:
123UM1BRIAN
123UH2BRIAN
124ZZ1MOSES
124UM2MOSES
125BH1ISHMAEL
I need to read a file like this and read each line and pull parts of each line to store into an array. The first 3 letters for the member#, 2 letters for the doctor area code, 1 letter for the transaction date and 10 letters for the member name.
I can do this with a character for separation , but how do you break apart a string with no spaces or other characters? Any help would be appreciated.
-ProLin



LinkBack URL
About LinkBacks



