summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2015-10-17 22:44:40 -0700
committerDavid Tolnay <dtolnay@gmail.com>2015-10-25 12:40:15 -0700
commite17ccf229723d776c0d49341665256b855c70bda (patch)
tree4ad441a1113162002daae2fcedec95e1834e03d4 /docs
parent8eb1367ca44e772963e704a700ef72ae2e12babd (diff)
Support numbers and boolean in join (fix #930)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/3.manual/manual.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index df309c4a..baf474bf 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -1446,11 +1446,17 @@ sections:
running `split("foo") | join("foo")` over any input string
returns said input string.
+ Numbers and booleans in the input are converted to strings.
+ Null values are treated as empty strings. Arrays and objects
+ in the input are not supported.
+
examples:
- program: 'join(", ")'
input: '["a","b,c,d","e"]'
output: ['"a, b,c,d, e"']
-
+ - program: 'join(" ")'
+ input: '["a",1,2.3,true,null,false]'
+ output: ['"a 1 2.3 true false"']
- title: "`ascii_downcase`, `ascii_upcase`"
body: |