Sub String
Returns part of a string from start
to end
included.
Description
Return the part of the string going from start
to end
(limits included).
Examples
Substring('Olympe', 0, 5) -> 'Olymp'
Substring('Olympe', 1, 4) -> 'lym'
Inputs
- s (String): The input string.
- start (Number): The index of the first character to include in the returned substring.
- end (Number): Optional Value - The index of the last character to exclude from the returned substring.
Outputs
- substring (String): The resulting string.