Improvements to wording of substr function documentation

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
Ben Partridge 2022-02-15 10:23:37 +11:00 committed by GitHub
parent fa8a87fab5
commit 252865c6a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ string after the given offset will be returned.
world 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. will be the length of all remaining characters.
``` ```