Add trimstr/1 function (#3319)
This commit is contained in:
1 parent
de21386681
commit
7d8c096e48
5 files changed
+35
No files matched your search
Generated
+4
@@ -617,6 +617,10 @@ combinations(2)
|
||||
["fo", "foo", "barfoo", "foobar", "foob"]
|
||||
["fo","","bar","foobar","foob"]
|
||||
|
||||
[.[]|trimstr("foo")]
|
||||
["fo", "foo", "barfoo", "foobarfoo", "foob"]
|
||||
["fo","","bar","bar","b"]
|
||||
|
||||
trim, ltrim, rtrim
|
||||
" abc "
|
||||
"abc"
|
||||
|
||||
Reference in new issue
Block a user