aboutsummaryrefslogtreecommitdiff
path: root/pseudocode-lib/README.md
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-20 11:01:01 +0000
committer_ov4 <ov4@ov4.org>2026-10-20 11:01:01 +0000
commit65599524f5b41ffb6d8d55664611612c0b57ad47 (patch)
tree69eafa5e5651c13100c9509502efc1659b186d1c /pseudocode-lib/README.md
parent0c4db4fea1960571318444bd39593533b04b3716 (diff)
feat(library): add experimental string MID function
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'pseudocode-lib/README.md')
-rw-r--r--pseudocode-lib/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/pseudocode-lib/README.md b/pseudocode-lib/README.md
index 6a4c23c..55367d0 100644
--- a/pseudocode-lib/README.md
+++ b/pseudocode-lib/README.md
@@ -22,3 +22,5 @@ The library provides `&`, `_EXP_STRING_NUM_TO_STR` (INTEGER/REAL), `_EXP_STRING_
`_EXP_STRING_LEFT(S : _EXP_STRING, Count : INTEGER)` returns a new `_EXP_STRING` containing up to Count bytes from the beginning. Nonpositive counts return an empty string; counts exceeding the length return the whole string. Embedded NUL bytes are preserved.
`_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.