Improvements to wording of substr function documentation
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
fa8a87fab5
commit
252865c6a0
|
@ -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.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue