public static substr ( string $string, integer $start, integer $length = null, array $options = [] ) : string | ||
$string | string | The string to extract the substring from. |
$start | integer | Position of first character in string (offset). |
$length | integer | Maximum numbers of characters to use from string. |
$options | array | Allows for selecting the adapter to use via the `name` options. Will use the `'default'` adapter by default. |
Результат | string | The substring extracted from given string. |