Lines Matching refs:string
83 * @param string $string The UTF8 string to strip of special chars
88 public static function stripspecials($string, $repl = '', $additional = '') argument
95 return preg_replace('/[' . $additional . '\x00-\x19' . $specials . ']/u', $repl, $string);
147 * @param string $string
151 public static function deaccent($string, $case = 0) argument
154 $string = strtr($string, Table::lowerAccents());
157 $string = strtr($string, Table::upperAccents());
159 return $string;
167 * @param string $string
170 public static function romanize($string) argument
172 if (self::isASCII($string)) return $string; //nothing to do
174 return strtr($string, Table::romanization());