From 61f2272f788fec41f4773dda18bfcca707040324 Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Wed, 4 Dec 2024 11:22:28 -0500 Subject: [PATCH] Fix documentation reference for string.trim_space (#2217) --- docs/sources/reference/stdlib/string.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sources/reference/stdlib/string.md b/docs/sources/reference/stdlib/string.md index 41a64490a9..0d1671299c 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