diff options
Diffstat (limited to 'doc/language/function/cpsc-function-mid.7.md')
| -rw-r--r-- | doc/language/function/cpsc-function-mid.7.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/language/function/cpsc-function-mid.7.md b/doc/language/function/cpsc-function-mid.7.md index 66f7294..0956b43 100644 --- a/doc/language/function/cpsc-function-mid.7.md +++ b/doc/language/function/cpsc-function-mid.7.md @@ -12,9 +12,7 @@ MID(text : STRING, start : INTEGER, count : INTEGER) RETURNS STRING # DESCRIPTION -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. +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 @@ -25,4 +23,3 @@ OUTPUT MID("ABCDEFGH", 2, 3) # SEE ALSO [cpsc-language-overview(7)](../cpsc-language-overview.7.md), [cpsc-function-left(7)](cpsc-function-left.7.md), [cpsc-function-right(7)](cpsc-function-right.7.md), [cpsc-function-length(7)](cpsc-function-length.7.md). - |
