Go Down

Topic: split string (Read 625 times) previous topic - next topic


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



Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e


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


Go Up