Skip stage
Skip is the operation that skips passed number of elements in a sequence.
Take syntax
antlr
Skip
: 'skip' '(' ConstantExpression ')'
;
Related tokens
ConstantExpression
Skip examples
- Skip first cell of the sequence.csharp
select(tableCells) // PdfTableCell[] ->skip(1) // PdfTableCell[]
- Take only the second and the third rows.csharp
select(tableCells) // PdfTableCell[] ->skip(1) // PdfTableCell[] ->take(2) // PdfTableCell[]