Extract substring
Returns the part of the string between start and
end indices. Indices are character-based (Unicode code
points), so multi-byte UTF-8 characters are never split.
s (String): The input
string.
start (Int): The starting index
(inclusive).
end (Int): The ending index
(exclusive).
The extracted substring.