Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > strings and nets > unstack
next | previous | forward | backward | up | index | toc

unstack -- list the rows of a net

Description

unstack x -- produces a list of strings, each containing the characters in one row of the Net x.

The original net, adjusted so its height is 1, may be recovered with stack. The individual strings will have all trailing spaces removed, unless this would make all of them narrower than the original net, in which case the first string retains its trailing spaces.

Ways to use unstack :

For the programmer

The object unstack is a compiled function.