I'm trying to extract whitespace from a string that I've pulled from a text file. Here's the code:
The get function is not working -- I get a bad &%#@ing class -- which I'm growing very impatient with.Code:
fileLinePrice = fileLine.substr(30, 5);
while (loop < 5)
chr = inData.get(fileLinePrice);
if (chr != ' ')
fileLinePrice2 = fileLinePrice2 + chr;
Anyway, any help would be appreciated.