From 98623f2fdd63232edf0ebab1b9680cf4e33e6f10 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Fri, 23 Jan 2026 01:54:51 +0000 Subject: More docs, and a few improvements for the standard library --- docs/std/string.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/std/string.md') 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` | 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 -- cgit v1.2.3