ok what im trying to do is if a name is longer than 5 characters it deletes the other characters and puts ... at the end.

but i cant figure out how to do i tried deleting chars but that only got through the debugger it didnt work.

does anyone know how to do this?