Name
substring — Extract a substring
Synopsis
string
substring
( |
string
| STRING
, |
|
integer
| START
, |
|
integer
| LENGTH
) ; |
Parameters
-
string
STRING
-
integer
START
-
integer
LENGTH
Description
Extract a substring of the string STRING, starting at START after the first one with length of at most LENGTH.
Usage
substring ("some text", 5, 2) -> "te"
substring ("some text", 42, 2) -> ""
|