diff options
Diffstat (limited to 'docs/std/string.md')
| -rw-r--r-- | docs/std/string.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/std/string.md b/docs/std/string.md index b83ee80..252b737 100644 --- a/docs/std/string.md +++ b/docs/std/string.md @@ -72,6 +72,8 @@ These methods handle UTF-8 character boundaries correctly, contrasting with the | Method | Signature | Description | | :--- | :--- | :--- | | **split** | `split(self, delim: char) -> Vec<String>` | Splits the string into a vector of substrings separated by `delim`. | +| **trim** | `trim(self) -> String` | Returns a new string with leading and trailing whitespace removed. | +| **replace** | `replace(self, target: char*, replacement: char*) -> String` | Returns a new string with all occurrences of `target` replaced by `replacement`. | ### Comparison |
