From 252865c6a034301f521565d14518e73be39ff650 Mon Sep 17 00:00:00 2001 From: Ben Partridge Date: Tue, 15 Feb 2022 10:23:37 +1100 Subject: [PATCH] Improvements to wording of substr function documentation Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> --- website/docs/language/functions/substr.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/functions/substr.mdx b/website/docs/language/functions/substr.mdx index 1ccd24cc1d..8317848de7 100644 --- a/website/docs/language/functions/substr.mdx +++ b/website/docs/language/functions/substr.mdx @@ -37,7 +37,7 @@ string after the given offset will be returned. world ``` -The length may be greater than the length of the string, in which case the substring +If the length is greater than the length of the string, the substring will be the length of all remaining characters. ```