Document string multiplication and division

This commit is contained in:
Nicolas Williams committed 2013-12-04 18:21:40 -06:00
1 parent c9e8581f45
commit b634722c8a
1 file changed
+9
+9
View File
@@ -463,10 +463,19 @@ sections:
These operators only work on numbers, and do the expected.
Multiplying a string by a number produces the concatenation of
that string that many times.
Dividing a string by another splits the first using the second
as separators.
examples:
- program: '10 / . * 3'
input: 5
output: [6]
- program: '. / ", "'
input: '"a, b,c,d, e"'
output: ['["a","b,c,d","e"]']
- title: `length`
body: |