From 5a54ecdade484168846b8db83a7f41c5275059c0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 12:02:09 +0000 Subject: docs(strings): document the embedded standard library and STRING values Describe -no-std, C_STRING literals, library function semantics and owning string lifetimes in the manuals and contributor guidance. Co-Authored-By: Claude Opus 5.5 --- doc/language/function/cpsc-function-mid.7.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/language/function/cpsc-function-mid.7.md') diff --git a/doc/language/function/cpsc-function-mid.7.md b/doc/language/function/cpsc-function-mid.7.md index 0956b43..e033543 100644 --- a/doc/language/function/cpsc-function-mid.7.md +++ b/doc/language/function/cpsc-function-mid.7.md @@ -12,6 +12,8 @@ MID(text : STRING, start : INTEGER, count : INTEGER) RETURNS STRING # DESCRIPTION +Provided by the standard string library, loaded and linked by default. + Return up to count bytes starting at the one-based position start. Positions below 1 clamp to 1; positions beyond the end return an empty string. The count clamps to the available bytes; negative counts return an empty string. # EXAMPLE -- cgit v1.3.1-4-g156e