mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Document split function
This commit is contained in:
@@ -861,6 +861,16 @@ sections:
|
|||||||
input: '[65, 66, 67]'
|
input: '[65, 66, 67]'
|
||||||
output: ['"ABC"']
|
output: ['"ABC"']
|
||||||
|
|
||||||
|
- title: `split`
|
||||||
|
body: |
|
||||||
|
|
||||||
|
Splits an input string on the separator argument.
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- program: 'split(", ")'
|
||||||
|
input: '"a, b,c,d, e"'
|
||||||
|
output: ['["a","b,c,d","e"]']
|
||||||
|
|
||||||
- title: `recurse`
|
- title: `recurse`
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user