Hello all,
Is it possible to cut a textbox string into new strings with a length of max 50 characters.
even better still would be if the strings are cut at the end of a word close to the 50 characters.
All help is welcome
Hello all,
Is it possible to cut a textbox string into new strings with a length of max 50 characters.
even better still would be if the strings are cut at the end of a word close to the 50 characters.
All help is welcome
You don't say what to do with the chopped strings, so the following returns an array where no element is longer than the specified length.
Notice the issue with the "(' ')" - unavoidable with this methodPlease Login or Register to view this content.
Last edited by cytop; 09-30-2016 at 06:59 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks