This commit is contained in:
root
2026-06-15 21:42:50 +00:00
parent 34a97e2577
commit 99cd92fb4a
126 changed files with 1615 additions and 1057 deletions
+25
View File
@@ -0,0 +1,25 @@
:sig
0_String
:see
>types
>string
split_utf8
substr
html_escape
:content
Primary string type used throughout UCE.
`String` is an alias for `std::string`.
It is used for request data, headers, cookie values, file contents, query strings, JSON text, and WebSocket payloads.
Because it is backed by `std::string`, it is binary-safe and may also contain raw bytes.
For UTF-8-aware splitting, use helpers such as `split_utf8()` instead of assuming one byte equals one character.
## Related Concepts
- PHP: native PHP strings with helpers such as `substr()`, `trim()`, `explode()`, and `implode()`
- JavaScript / Node.js: JavaScript `string` values with methods such as `slice()`, `trim()`, `split()`, and `join()`