diff options
Diffstat (limited to 'docs/markdown/snippets/string_replace.md')
-rw-r--r-- | docs/markdown/snippets/string_replace.md | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/markdown/snippets/string_replace.md b/docs/markdown/snippets/string_replace.md deleted file mode 100644 index e88179d..0000000 --- a/docs/markdown/snippets/string_replace.md +++ /dev/null @@ -1,10 +0,0 @@ -## String `.replace()` - -String objects now have a method called replace for replacing all instances of a -substring in a string with another. - -```meson -s = 'aaabbb' -s = s.replace('aaa', 'bbb') -# 's' is now 'bbbbbb' -``` |