quote:
Originally posted by KeyStorm
yes, not actually "<br>" itself but the character "\n", the 'carriage-return' surely counts as 1 char
and sometimes it counts as 2 bytes (line feed and return).
quote:
Originally posted by Beno
255 is a strange random number to stop it at.
255 = 2 ^ 8 - 1
not strange. very usual in informtion storage and bla bla bla....
information is stored in groups of a size that is a power of 2 (look at memories: 256 Mb, 512Mb, ....) The minus 1 is to store a "end-of-string" character (ie a null char.)
Edit_:
KeyStorm