Gossamer Forum
Home : Products : DBMan : Customization :

Splitting a word

Quote Reply
Splitting a word
Hi! Does anyone know a good way in perl of splitting up a word that is longer than X chars? So if the string from an input field contains a word "aslfkalsjfoiqeofiqirfoqhconqonfoqnwef" that would be changed to "aslfkalsjfoiq-eofiqirfoqhcon-qonfoqnwef" or "aslfkalsjfoiqe ofiqirfoqhcon qonfoqnwef"........



Thanks!Pirate