diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 19:40:01 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 19:40:01 -0500 |
| commit | 1f6aa4cac7af0e00c826d5348b06aed70cbcb3e3 (patch) | |
| tree | a53f2264f98d329b01278161c7ff32b5c1506593 /builtins/text.h | |
| parent | dc04286e3a75d8f94a69c204cb4fbb7b22e2d6a9 (diff) | |
Add methods for text:clusters(), text:codepoints(), text:bytes()
Diffstat (limited to 'builtins/text.h')
| -rw-r--r-- | builtins/text.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtins/text.h b/builtins/text.h index ecb6e603..44e2c270 100644 --- a/builtins/text.h +++ b/builtins/text.h @@ -29,6 +29,9 @@ find_result_t Text__find(CORD str, CORD pat); CORD Text__replace(CORD text, CORD pat, CORD replacement, int64_t limit); array_t Text__split(CORD str, CORD split); CORD Text__join(CORD glue, array_t pieces); +array_t Text__clusters(CORD text); +array_t Text__codepoints(CORD text); +array_t Text__bytes(CORD text); extern const TypeInfo Text; |
