D.2.3.7 split
.............
Procedure from library inout.lib (see inout_lib).

Usage:
split(s[,n]); s string, n integer

Return:
same string, split into lines of length n separated by \
(default: n=pagewidth)

Note:
may be used in connection with lprint

Example:
LIB "inout.lib";
ring r= 0,(x,y,z),ds;
poly f = (x+y+z)^4;
split(string(f),50);
==> x4+4x3y+6x2y2+4xy3+y4+4x3z+12x2yz+12xy2z+4y3z+6x\
==> 2z2+12xyz2+6y2z2+4xz3+4yz3+z4
split(lprint(f));
==>   x4+4x3y+6x2y2+4xy3+y4+4x3z+12x2yz+12xy2z+4y3z+6x2z2+12xyz2+6y2z2+4xz3+4\
   yz3\
==> +z4

<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
