next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > The Macaulay2 language > strings and nets > unstack

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 orginal 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 :