From a1ba45b28c94244d2e1c6f00372d51d294cc3edc Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 11:01:52 +0000 Subject: feat(library): add experimental string LCASE overloads Co-Authored-By: Claude Opus 5.5 --- pseudocode-lib/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pseudocode-lib/README.md') diff --git a/pseudocode-lib/README.md b/pseudocode-lib/README.md index 55367d0..8049ede 100644 --- a/pseudocode-lib/README.md +++ b/pseudocode-lib/README.md @@ -24,3 +24,5 @@ The library provides `&`, `_EXP_STRING_NUM_TO_STR` (INTEGER/REAL), `_EXP_STRING_ `_EXP_STRING_RIGHT(S : _EXP_STRING, Count : INTEGER)` returns a new `_EXP_STRING` containing up to Count bytes from the end. Nonpositive counts return an empty string; counts exceeding the length return the whole string. Embedded NUL bytes are preserved. `_EXP_STRING_MID(S : _EXP_STRING, Start : INTEGER, Count : INTEGER)` returns a new `_EXP_STRING` containing up to Count bytes from the one-based Start position. Starts below 1 clamp to 1; starts beyond the end and nonpositive counts return an empty string. Counts clamp to the remaining bytes. Embedded NUL bytes are preserved. + +`_EXP_STRING_LCASE(S : _EXP_STRING)` returns a new `_EXP_STRING` with letters converted to lower case. Its `(Ch : CHAR)` overload returns CHAR, following guide section 5.5. Nonletters and embedded NUL bytes are preserved; the source is unchanged. Use ASCII for predictable case conversion. -- cgit v1.3.1-4-g156e