How come that this code wont work. If Text haves one or more tabulators it don't find them and replace them with spaces. What am I doing wrong here?Code:for (int i = 1; i < Length; i++) { if (Text[i] == '\t') { Text[i] = ' '; } }
*Edit*
BTW Text is an AnsiString (kind of like String) if that is of any importance.