From 7eb1fbf5d2d632bbd98fc3fa7cff777197a63d34 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 7 Mar 2025 16:19:12 -0500 Subject: Add proper language support for case operations on text --- test/text.tm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'test/text.tm') diff --git a/test/text.tm b/test/text.tm index 7d6ce831..a1b36d97 100644 --- a/test/text.tm +++ b/test/text.tm @@ -11,6 +11,26 @@ func main(): >> str[1] = "H" + >> "I":lower() + = "i" + >> "I":lower(language="tr_TR") + = "ı" + + >> "i":upper() + = "I" + >> "i":upper(language="tr_TR") + = "İ" + + >> "ian":title() + = "Ian" + >> "ian":title(language="tr_TR") + = "İan" + + >> "I":caseless_equals("ı") + = no + >> "I":caseless_equals("ı", language="tr_TR") + = yes + >> str[9] = "é" -- cgit v1.2.3