addcslashes-adds a backslash escape character to a partial character in a string addslashes-escapes the characters in the string in the specified manner bin2hex- Converts binary data to a hexadecimal representation of the Chop-rtrim () alias function chr-returns the ASCII code for a character chunk_split-splits the string into small pieces at a certain length convert_cyr_string- Converts Slavic characters to other characters convert_uudecode-decrypts a string convert_uuencode-encrypts a string count_chars-returns the character usage information inside a string crc32- Computes a string of CRC32 polynomial crypt-one-way hash cryptographic function echo-to display some content explode-converts a string into an array form fprintf-returns the data as required and writes directly to the document Stream Get_html_ translation_table-returns an HTML entity that can be converted hebrev-converts Hebrew encoded strings to visual text hebrevc-converts Hebrew encoded strings to visual text html_entity_decode- The inverse of the htmlentities () function converts an HTML entity to a character htmlentities-converts some characters in a string to an HTML entity htmlspecialchars_decode-htmlspecialchars () The inverse function of the function converts the HTML entity to a character htmlspecialchars-converts some characters in a string to an HTML entity implode-converts an array to a string using a specific delimiter join-converts an array to a string, implode () The alias of the function levenshtein-calculates the difference size of the two words localeconv-gets the number-related format definition ltrim-removes whitespace to the left of the string or the specified character md5_file-a file for MD5 algorithm encryption md5- The MD5 algorithm encrypts a string metaphone-determines the pronunciation rule of a string money_format-the output that is formatted by parameter to the number nl_langinfo-query language and local information nl2br-replace the line break in the string "\ n" with " /span><br/> number_format-the output of a number formatted according to parameters ord-converts an ASCII code to a character parse_str-convert a string of a certain format into a variable and a value print-to output a single value printf- Display data as required quoted_printable_decode-encrypt a string into a 8-bit binary string quotemeta-to escape a number of specific characters rtrim-remove whitespace to the right of the string or specify the character setlocale- Set local format for numbers, dates, and so on sha1_file-a file for SHA1 algorithm encryption sha1-a string for SHA1 algorithm encryption similar_text-compare two strings and return the number of similar characters that the system thinks soundex- Judge the pronunciation rule of a string sprintf-returns the data as required, but does not output sscanf-can format the string str_ireplace-like the Str_replace () function to match and replace the string, but not case-sensitive str_pad -padding on both sides of a string str_repeat-repeating a combination of strings str_replace-matching and replacing strings str_rot13-ROT13 cryptographic processing of strings str_shuffle-random ordering of characters inside a string str _split-divides a string into an array by character spacing str_word_count-gets the English word information inside the string strcasecmp-the size comparison of the string, case-insensitive strchr-by comparing the part that returns a string strstr The alias of the () function strcmp-the size comparison of the string strcoll– the string size comparison based on local settings strcspn-returns the value of the character continuous non-matching length strip_tags- Remove the HTML and PHP code inside a string stripcslashes-the inverse addcslashes () function escapes the processed string stripos-finds and returns the position of the first occurrence, matching case insensitive stripslashes- The inverse addslashes () function escapes the processed string stristr-by comparing the part that returns a string, compares the case-insensitive strlen-gets the encoding length of a string strnatcasecmp-uses the natural sort method to enter the stringRow size comparisons, case-insensitive strnatcmp-use natural sorting to size comparisons of strings strncasecmp-the first n characters of a string, case-insensitive strncmp-comparing the first n characters of a string strpbrk- Strpos-finds and returns the position of the first occurrence by comparing the partial return of a string strrchr-returns a portion of a string from a backward-forward comparison strrev-all letters inside the string in reverse order strripos-to find and return the position of the first match from behind. Match case-insensitive strrpos– finds and returns the position of the first occurrence strspn-match and returns the value of the character's contiguous length strstr-by comparing the part that returns a string strtok-splits the string with the specified number of characters strtolower- Converts a string to lowercase strtoupper– converts a string to uppercase strtr-compares a string comparison to a substr_compare-comparison of a string substr_count-the number of occurrences of a character segment in a string is calculated Substr_ Replace-replaces some of the characters in a string substr-the string trim-remove whitespace on either side of the string or the specified character ucfirst-converts the first letter of the given string to uppercase ucwords- The first letter of each English word of the given string is capitalized vfprintf-the data is returned as required and written directly to the document stream vprintf-the data is displayed as required vsprintf-returns the data as required, but does not output wordwrap- Splits a string by a certain character length
PHP String processing function Daquan