From 356e2cf09687e18f3a601fc8b4e2b2dff6605476 Mon Sep 17 00:00:00 2001 From: "H.D. Sarson" Date: Tue, 8 Nov 2016 14:40:20 +0000 Subject: [PATCH] tidied up example so it is easier to read --- docs/expressions/syntax.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/expressions/syntax.md b/docs/expressions/syntax.md index 748439a3c..1c82ffd50 100644 --- a/docs/expressions/syntax.md +++ b/docs/expressions/syntax.md @@ -399,10 +399,9 @@ parser.eval('"hello"'); // String, "hello" // string manipulation parser.eval('a = concat("hello", " world")'); // String, "hello world" -parser.eval('size(a)'); // Matrix size [1], [11] +parser.eval('size(a)'); // Matrix [11] parser.eval('a[1:5]'); // String, "hello" parser.eval('a[1] = "H"'); // String, "H" -parser.eval('a'); // String, "Hello world" parser.eval('a[7:12] = "there!"'); // String, "there!" parser.eval('a'); // String, "Hello there!"