Contains
Checks whether a string contains another one.
Description
Determines whether one string may be found within another string, returning true or false as appropriate.
Inputs
- s1 (String): The string to search in.
- s2 (String): The string to search for.
Outputs
- s1.contains(s2) (Boolean):
true
if s2 is found anywhere in s1.