split string

Hi all, iv been trying to work out how to split a sting at a specified lengh. reason is that my lcd display is a 8x2 on one line. im trying to creat a function that automagicaly sets the curser at the correct location if the string is over 8 char long. i was hoping that the String.trim() would work as the name suggests but it looks asthough its only for removing empty spaceds???

thanks in advance



how did i not see that, after a couple hours searching youve managed to fix it for me in 5 mins.