src/Titon/Utility/Str.php
public static function contains($string, $needle, $strict = true, $offset = 0) {
        return (static::indexOf($string, $needle, $strict, $offset) !== false);
    }
public static function contains($string, $needle, $strict = true, $offset = 0) {
        return (static::indexOf($string, $needle, $strict, $offset) !== false);
    }
public static function contains ( $ string , $ needle , $ strict = true , $ offset = 0 ) { return ( static :: indexOf ( $ string , $ needle , $ strict , $ offset ) !== false ) ; }
Check to see if a string exists within this string.

@param string $string
@param string $needle
@param bool $strict
@param int $offset
@return bool
Check to see if a string exists within this string .