10.12.2010, 19:20
String lenght shows how many characters can it contain, so proably its the cause, just raise it and it should work fine.
Edit
Noticed that sizeof textformat should be sizeof(textformat)
Edit
Noticed that sizeof textformat should be sizeof(textformat)