From e7009d439c8e4e3d5497a6911b63fa6c47bde6b8 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 22 Oct 2020 13:18:49 +0200 Subject: [PATCH] Syntax.md: Fix variable used in substring example --- docs/markdown/Syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 64ec6db0d..65cb70f8f 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -236,8 +236,8 @@ string `len(string) - start` as well as negative `end`. ```meson string = 'foobar' -target.substring(-5, -3) # => 'oo' -target.substring(1, -1) # => 'ooba' +string.substring(-5, -3) # => 'oo' +string.substring(1, -1) # => 'ooba' ``` #### .split(), .join()