Improve String.sub api documentation.
This commit is contained in:
parent
e9a26f7db7
commit
38a61f5cb3
@ -73,8 +73,8 @@ val sub : nat -> nat -> string -> string
|
|||||||
let sub: (nat, nat, string) => string
|
let sub: (nat, nat, string) => string
|
||||||
</SyntaxTitle>
|
</SyntaxTitle>
|
||||||
|
|
||||||
Get the substring of `s` between `pos1` inclusive and `pos2` inclusive. For example
|
Extract a substring from a string based on the given offset and length. For
|
||||||
the string "tata" given to the function below would return "at".
|
example the string "abcd" given to the function below would return "bc".
|
||||||
|
|
||||||
|
|
||||||
<Syntax syntax="pascaligo">
|
<Syntax syntax="pascaligo">
|
||||||
|
Loading…
Reference in New Issue
Block a user