next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: wrap

wrap

Synopsis

Description

The inputs wid and sep are optional, and can be given in either order. The default for wid is printWidth, and the default for sep is null.
i1 : wrap(10,"abcdefghijklmnopqrstuvwxyz")

o1 = abcdefghij
     klmnopqrst
     uvwxyz
i2 : wrap(10,"-","abcdefghijklmnopqrstuvwxyz")

o2 = abcdefghij
     ----------
     klmnopqrst
     ----------
     uvwxyz