From b634722c8a972311c18888233537280d5d506537 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 29 Nov 2013 13:26:54 -0600 Subject: [PATCH] Document string multiplication and division --- docs/content/3.manual/manual.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 2d516a4f..8832ceb2 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -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: |