diff options
author | Danilo Spinella <oss@danyspin97.org> | 2020-10-22 13:18:49 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-10-22 08:47:24 -0400 |
commit | e7009d439c8e4e3d5497a6911b63fa6c47bde6b8 (patch) | |
tree | d0424f207de34d74d2b01ba38e5b8530f38747a3 | |
parent | 14fd1a329a5825230fce4c586b0c267ddb9b80de (diff) | |
download | meson-e7009d439c8e4e3d5497a6911b63fa6c47bde6b8.zip meson-e7009d439c8e4e3d5497a6911b63fa6c47bde6b8.tar.gz meson-e7009d439c8e4e3d5497a6911b63fa6c47bde6b8.tar.bz2 |
Syntax.md: Fix variable used in substring example
-rw-r--r-- | docs/markdown/Syntax.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 64ec6db..65cb70f 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() |