diff --git a/docs/sources/reference/stdlib/string.md b/docs/sources/reference/stdlib/string.md index 1ea8ee3d60..608d3475a2 100644 --- a/docs/sources/reference/stdlib/string.md +++ b/docs/sources/reference/stdlib/string.md @@ -194,13 +194,13 @@ If the string doesn't start with the prefix, the string is returned unchanged. "hello" ``` -## strings.trim_space +## string.trim_space -`strings.trim_space` removes any whitespace characters from the start and end of a string. +`string.trim_space` removes any whitespace characters from the start and end of a string. ### Examples ```alloy -> strings.trim_space(" hello\n\n") +> string.trim_space(" hello\n\n") "hello" ``` \ No newline at end of file