By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,847 Members | 2,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,847 IT Pros & Developers. It's quick & easy.

Help with string manipulation

P: n/a
Hi folks, I'm stuck.
I need to manipulate a string in the following way. I want to take
a string and, if it has a length of over 60 characters, ensure every
sixtieth character is a blank space. If a letter falls within the
60th or multiple of sixty character I want to step back to the
beginning of that word and push it to the 61st character and pad the
previous area to 60 characters with spaces.
Make sense?

Any help greatly appreciated. I've gotten it to work but only when
the string is less than 120 characters.
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.