diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 11:01:01 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 11:01:01 +0000 |
| commit | 65599524f5b41ffb6d8d55664611612c0b57ad47 (patch) | |
| tree | 69eafa5e5651c13100c9509502efc1659b186d1c /tests/library/exp-string/notes.md | |
| parent | 0c4db4fea1960571318444bd39593533b04b3716 (diff) | |
feat(library): add experimental string MID function
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/library/exp-string/notes.md')
| -rw-r--r-- | tests/library/exp-string/notes.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/library/exp-string/notes.md b/tests/library/exp-string/notes.md index ff25d0f..c05d6d7 100644 --- a/tests/library/exp-string/notes.md +++ b/tests/library/exp-string/notes.md @@ -9,3 +9,5 @@ LEFT keeps ABC, returns zero bytes for an empty source or nonpositive count, and RIGHT keeps FGH, returns zero bytes for an empty source or nonpositive count, and clamps 20 to all eight letters. Taking four bytes from hello followed by three NULs retains the final o and all three NULs. The added checks use separate procedures to keep generated temporary-object cleanup small enough for the ordinary runner timeout. + +MID positions 2..4 give BCD. The minimum INTEGER start clamps to 1 and gives AB; a maximum count from position 7 gives GH. Empty input, a maximum start, and nonpositive counts give length zero. Four bytes starting at the second of three NULs retain two NULs and AB. |
