Comparing Strings

You're appending the character before you know whether or not it's a carriage return, so your string ends up being "start bat\n" or something to that effect.

By the way, string.clear() is slightly better than string="".
Last edited on
O_o, another buggy topic...
Topic archived. No new replies allowed.