Hi there, now i have a string that i echo into html.

I need to cut this string down if it exceeds the width of the table it resides in.

I have looked into cutting it down according to how many characters it has, however as im using Tahoma, there is a big difference between 'w' and 'i'.

Anyone have any ideas on how this can be done?