contains

Check if string contains substring

Returns true if sub is present in s.

Parameters

Returns

True if found, false otherwise.