summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/content/3.manual/manual.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index 10aa4f7d..5a77b5e1 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -1005,9 +1005,12 @@ sections:
occurrence of `s` in the input.
examples:
- - program: '[index(", "), rindex(", ")'
+ - program: 'index(", ")'
input: '"a,b, cd, efg, hijk"'
- output: ['[3,12]']
+ output: ['3']
+ - program: 'rindex(", ")]'
+ input: '"a,b, cd, efg, hijk"'
+ output: ['12']
- title: `startswith`
body: |