Hi All,

I'm trying to extract whitespace from a string that I've pulled from a text file. Here's the code:

Code:
fileLinePrice = fileLine.substr(30, 5);
						while (loop < 5)
	{
							chr = inData.get(fileLinePrice);
							   if (chr != ' ')
	   {
	          fileLinePrice2 = fileLinePrice2 + chr;
	          loop++;
							   }
	}
The get function is not working -- I get a bad &%#@ing class -- which I'm growing very impatient with.

Anyway, any help would be appreciated.

bob2509