Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Operator

skip — skip leading values of input sequence

Synopsis

skip <const-expr>

Description

The skip operator skips the first N values from its input. N is given by <const-expr>, a compile-time constant expression that evaluates to a positive integer.

Examples


Skip the first two values of an arbitrary sequence

# spq
skip 2
# input
1
"foo"
[1,2,3]
# expected output
[1,2,3]