Added support  for strings up to 255 chars

Overflow text is trimmed off.