Here's an odd one...
Blitz3D Forums/Blitz3D Programming/Here's an odd one...
| ||
Is there a way to test if a string has a horizontal tab charactor in it. I have a parsing command I wrote, but the text file i'm reading has some tabs inbeded in it and it's screwing it up. I can't figure out how to detect those. |
| ||
if you are reading char per char and holding it in a var inchar$, just do the following if chr$( inchar$ ) = 9 then .... ; Tab found |
| ||
It's probably simpler to change tab to space using the Replace$() function and then parse. |