Returns the substring from start (inclusive) to end (exclusive).
Example:
assert (Strings.substring ("hello world", 0, 5) == "hello");
| s |
the string. |
| start |
start index (inclusive). |
| end |
end index (exclusive). |
|
the substring, or empty string if indices are invalid. |