September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
6
Task/Substring/Jq/substring-4.jq
Normal file
6
Task/Substring/Jq/substring-4.jq
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
$ jq -M -n -r -f Substring.jq
|
||||
s[1:2] => 二
|
||||
s[9:] => 十
|
||||
s|.[0:length-1] => 一二三四五六七八九
|
||||
s | ix("五") as $i | .[$i: $i + 1] => 五
|
||||
s | ix("五六") as $i | .[$i: $i + 2] => 五六
|
||||
Loading…
Add table
Add a link
Reference in a new issue