From f6cd54cc40440b095aa34bc4f019e534366683b2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 15 Apr 2021 15:11:52 +1000 Subject: docs: add the 'since' tag to string.replace --- docs/markdown/Reference-manual.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index fbef6a9..8624138 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2202,8 +2202,8 @@ are immutable, all operations return their results as a new string. - `join(list_of_strings)`: the opposite of split, for example `'.'.join(['a', 'b', 'c']` yields `'a.b.c'`. -- `replace('old_substr', 'new_str')`: replaces instances of `old_substr` in the - string with `new_str` and returns a new string +- `replace('old_substr', 'new_str')` *(since 0.58.0)*: replaces instances of + `old_substr` in the string with `new_str` and returns a new string - `split(split_character)`: splits the string at the specified character (or whitespace if not set) and returns the parts in an -- cgit v1.1