seq char for generators
Print a sequence of ASCII characters.
Signature
> seq char {flags} (start) (end)
Parameters
-
start: start of character sequence (inclusive) end: end of character sequence (inclusive)
Input/output types:
| input | output |
|---|---|
| nothing | list<string> |
Examples
sequence a to e
> seq char a e
╭───┬───╮
│ 0 │ a │
│ 1 │ b │
│ 2 │ c │
│ 3 │ d │
│ 4 │ e │
╰───┴───╯
sequence a to e, and put the characters in a pipe-separated string
> seq char a e | str join '|'