Returns whether substr is included in the string.
Example:
assert (Strings.contains ("hello world", "world") == true);
assert (Strings.contains ("hello", "xyz") == false);
| s |
the string to be searched. |
| substr |
search keyword. |
|
true if substr is included, false otherwise. |