From 45bd58fbaac4419a45246865cf44ded7920d5b84 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Sat, 26 Aug 2023 17:35:52 +0200 Subject: Implement `rev()` method on string (#2013) --- docs/reference/types.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/reference') diff --git a/docs/reference/types.md b/docs/reference/types.md index b0ee1bd1..365593f3 100644 --- a/docs/reference/types.md +++ b/docs/reference/types.md @@ -689,6 +689,11 @@ string and returns the resulting string. If given, only the first `count` matches of the pattern are placed. - returns: string +### rev() +Reverses the grapheme clusters and returns the resulting string. + +- returns: string + ### trim() Removes matches of a pattern from one or both sides of the string, once or repeatedly and returns the resulting string. -- cgit v1.2.3