Link to home
Start Free TrialLog in
Avatar of freak022398
freak022398

asked on

Text formating

How do i write a routine that allows me to wrap a long text i have in $txt into smaler parts, no longer than 80 Characters?

The routine will have to find the last space in the string that lies within the allowed line length, and then wrap the line there. Sounds easy, but i don't know how to do it!

So please, some one help me.

Martin.
ASKER CERTIFIED SOLUTION
Avatar of alamo
alamo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of freak022398
freak022398

ASKER

And once again, thanks for a guick answer :)
The procedure think is an old Amiga habit :)

CYA. Martin.