Returns whether the string starts with the specified prefix.
Example:
assert (Strings.startsWith ("HelloWorld", "Hello") == true);
assert (Strings.startsWith ("HelloWorld", "World") == false);
| s |
the string to check. |
| prefix |
the prefix. |
|
true if s starts with prefix. |