From 478ddad9aaf837005f5401126f8872c0e3058bba Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 19 Dec 2024 15:32:19 -0500 Subject: Add Text:reversed() --- stdlib/text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/text.h') diff --git a/stdlib/text.h b/stdlib/text.h index 6e2ac413..f7785ddb 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -31,6 +31,7 @@ Text_t Text$_concat(int n, Text_t items[n]); Text_t Text$slice(Text_t text, Int_t first_int, Int_t last_int); Text_t Text$from(Text_t text, Int_t first); Text_t Text$to(Text_t text, Int_t last); +Text_t Text$reversed(Text_t text); Text_t Text$cluster(Text_t text, Int_t index_int); OptionalText_t Text$from_str(const char *str); OptionalText_t Text$from_strn(const char *str, size_t len); -- cgit v1.2.3