Originally Posted By: Rei_Ayanami
my strings look like this:
STRING* holograph_1_2 =
"Hey!
Sounds very cool!";

with line break wink


Originally Posted By: Quadraxas
whitespace is not linebreak, you cannot check it.


If you would use '\n' for linebreaks in your string, it would be possible, because this linebreaks could be found with str_stri() ...

just a suggestion, hopes this helps wink
Gor Na Kosh


EDIT:
An other possibility could be to convert the string into single characters and check their ASCII value width str_to_asc()
a linebreak would be 13 + 10 if I'm right

Last edited by GorNaKosh; 09/12/09 12:15.