str_shuffle

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Randomly shuffles a string string str_shuffle ( string $str ) str_shuffle() shuffles a string. One permutation of all possible is created. Parameters: str The input string. Returns: Returns the shuffled string. Examples: str_shuffle() example

str_rot13

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Perform the rot13 transform on a string string str_rot13 ( string $str ) Performs the ROT13 encoding on the str argument and returns the resulting string. The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched. Encoding and decoding are done by the same function, passing an encoded string as argument will return the original

str_replace

(PHP 4, PHP 5, PHP 7) Replace all occurrences of the search string with the replacement string mixed str_replace ( mixed $search, mixed $replace, mixed $subject [, int &$count ] ) This function returns a string or an array with all occurrences of search in subject replaced with the given replace value. If you don't need fancy replacing rules (like regular expressions), you should always use this function instead of pre

str_repeat

(PHP 4, PHP 5, PHP 7) Repeat a string string str_repeat ( string $input, int $multiplier ) Returns input repeated multiplier times. Parameters: input The string to be repeated. multiplier Number of time the input string should be repeated. multiplier has to be greater than or equal to 0. If the multiplier is set to 0, the function wil

str_pad

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Pad a string to a certain length with another string string str_pad ( string $input, int $pad_length [, string $pad_string = " " [, int $pad_type = STR_PAD_RIGHT ]] ) This functions returns the input string padded on the left, the right, or both sides to the specified padding length. If the optional argument pad_string is not supplied, the input is padded with spaces, otherwise it is padde

str_ireplace

(PHP 5, PHP 7) Case-insensitive version of str_replace(). mixed str_ireplace ( mixed $search, mixed $replace, mixed $subject [, int &$count ] ) This function returns a string or an array with all occurrences of search in subject (ignoring case) replaced with the given replace value. If you don't need fancy replacing rules, you should generally use this function instead of preg_replace() with the i modifier.

str_getcsv

(PHP 5 >= 5.3.0, PHP 7) Parse a CSV string into an array array str_getcsv ( string $input [, string $delimiter = "," [, string $enclosure = '"' [, string $escape = "\\" ]]] ) Parses a string input for fields in CSV format and returns an array containing the fields read. Parameters: input The string to parse. delimiter Set the fi

sscanf

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Parses input from a string according to a format mixed sscanf ( string $str, string $format [, mixed &$... ] ) The function sscanf() is the input analog of printf(). sscanf() reads from the string str and interprets it according to the specified format, which is described in the documentation for sprintf(). Any whitespace in the format string matches any whitespace in the input string.

sprintf

(PHP 4, PHP 5, PHP 7) Return a formatted string string sprintf ( string $format [, mixed $args [, mixed $... ]] ) Returns a string produced according to the formatting string format. Parameters: format The format string is composed of zero or more directives: ordinary characters (excluding %) that are copied directly to the result, and conversion specifications, each of w

soundex

(PHP 4, PHP 5, PHP 7) Calculate the soundex key of a string string soundex ( string $str ) Calculates the soundex key of str. Soundex keys have the property that words pronounced similarly produce the same soundex key, and can thus be used to simplify searches in databases where you know the pronunciation but not the spelling. This soundex function returns a string 4 characters long, starting with a letter. This particul