On Thursday 05 Jun 2003 20:05 pm, Bosky, Dave wrote:
> Does anyone have a script that will take a string and convert it so that it
> can be sent as a text message?
> I was looking to have the text message display 16 characters per row
> without splitting up words.
> I can display it 16 char per row but I'm stuck on the word splitting part.

Count back from the n*16th char untill you find a space, and split there, 
unless you've gone back 16 places.

-- 
Tom C
"Land of the free, home of the brave... you have to be brave to live there and 
enjoy the freedoms"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to