[Tutor] word wrapping a string
Lance
lbrannma@cablespeed.com
Mon Nov 11 20:58:01 2002
Hi All,
I would like to write text that word wraps to two or three levels of tab
stops.
For example....
y = 30*'hello world'
s = 'start\t' + y
This won't do it... since the string will continue off the screen.
Is there a module or can anyone suggest how I might write a procedure to
wrap y at the tab stop, irrespective of the length of y?
I want the result to look like this:
start hello world hello world.....
world hello world....
Thanks in advance,
Lance