Signature: contains(s: string, needle: string) -> bool

Description: True if needle appears anywhere in s. Empty needle returns true.

Parameters

Returns: bool

Example

let found = contains("hello world", "world")  // true