Skip to content

Commit 5c342f6

Browse files
docs: Fix typo in substr documentation (#1956)
Signed-off-by: Alexey Smolenchuk <[email protected]>
1 parent 73e4209 commit 5c342f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/stdlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ the computations are performed component-by-component (separately for `x`,
808808
return value will be `0` if the string doesn't appear to hold valid
809809
representation of the destination type.
810810

811-
`string` **`substr`** `(string str, output string results[], string sep, int maxsplit)` <br> `string` **`substr`** `(string str, output string results[], string sep)` <br> `string` **`substr`** `(string str, output string results[])`
811+
`int` **`split`** `(string str, output string results[], string sep, int maxsplit)` <br> `int` **`split`** `(string str, output string results[], string sep)` <br> `int` **`split`** `(string str, output string results[])`
812812

813813
: Fills the `result` array with the words in the string `str`, using `sep`
814814
as the delimiter string. If `maxsplit` is supplied, at most `maxsplit`

0 commit comments

Comments
 (0)