It looks like you're new here. If you want to get involved, click one of these buttons!
for chr in str:gfind("([ -\127\194-\244][\128-\191]*)") do
talis, antix, Xman, Apollo14, SinisterSoft
Btw, TextField has built in text wrap/formatting now.
I had a try with your project, the issue is caused by TextField now interpreting ascii control chars such as tab (\t) and LF(\n). Your TextWrap code tries to figure out the average character size based on the given text, and it doesn't exclude those ascii control chars from the computation. In your case the string used to check character size contains a '\n', so the textfield width doesn't reflect the total string width.
Try to change line 7 into:
Likes: talis, antix, Xman, Apollo14, SinisterSoft
Thanks so much.