summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.118
1 files changed, 18 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 82533914..6feee618 100644
--- a/txr.1
+++ b/txr.1
@@ -22293,6 +22293,24 @@ function returns the length
.meta string
in characters. The argument must be a string.
+.coNP Function @ coded-length
+.synb
+.mets (coded-length << string )
+.syne
+.desc
+The
+.code coded-length
+function returns the number of bytes required to encode
+.meta string
+in UTF-8.
+
+The argument must be a character string.
+
+If the string contains only characters in the ASCII range U+0001 to U+007F
+range, then the value returned shall be the same as that returned by the
+.code length-str
+function.
+
.coNP Function @ search-str
.synb
.mets (search-str < haystack < needle >> [ start <> [ from-end ]])