Skip to content
Prev 259582 / 398502 Next

Line feed for a long character string

On 11/05/2011 4:46 PM, Lisa wrote:
You can use the strwrap() function to insert line breaks.  If it's not 
under your control, and the function you're using tries to print 
something wider than the console, what happens depends on what console 
you're using.  The Windows Rgui does what you describe.  Windows Rterm 
will send all the characters, and cmd.exe or whatever shell you're using 
will probably insert breaks when it hits the end of the line.

Duncan Murdoch