public static function contains($string = false, $substring = false) {

        if ($substring && $substring && strpos($string, $substring) !== false) {

            return true;
        }

        return false;
    }
public static function contains($string = false, $substring = false) {

        if ($substring && $substring && strpos($string, $substring) !== false) {

            return true;
        }

        return false;
    }
public static function contains ( $ string = false , $ substring = false ) { if ( $ substring && $ substring && strpos ( $ string , $ substring ) !== false ) { return true ; } return false ; }
Check if the given string contains a specific substring.
@param string full string
@param string substring
@return boolean
Check if the given string contains a specific substring .