aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Syntax.md4
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()