original_string: public static function contains($value, string $search, string $encoding = 'UTF-8'): bool
      {
          if (!static::isStringCastable($value)) {
              return false;
          }
  
          return mb_strpos((string) $value, $search, 0, $encoding) !== false;
      }
code: public static function contains($value, string $search, string $encoding = 'UTF-8'): bool
      {
          if (!static::isStringCastable($value)) {
              return false;
          }
  
          return mb_strpos((string) $value, $search, 0, $encoding) !== false;
      }
code_tokens: public static function contains ( $ value , string $ search , string $ encoding = 'UTF-8' ) : bool { if ( ! static :: isStringCastable ( $ value ) ) { return false ; } return mb_strpos ( ( string ) $ value , $ search , 0 , $ encoding ) !== false ; }
docstring: Checks if value contains a search string
  
  @param mixed  $value    The value
  @param string $search   The search string
  @param string $encoding The string encoding
  
  @return bool
docstring_tokens: Checks if value contains a search string