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