CBA_fnc_substring

Description

Extracts the index-based substring from a string.

Parameters

_stringString to extract from [String]
_startIndexIndex to start the substring extraction [Number]
_endIndexIndex to end the substring extraction [Number]

Returns

String extracted [String]

Example

_str = ["Fish frog cheese fromage", 5, 8] call CBA_fnc_substring;
// => "frog"

Author

jaynus, joko // Jonas

Close