aid

Saturday, 4 April 2015

string function in php

Execute and test PHP functions for string operation. The PHP string functions are part of the PHP. No chnage is required to use these functions.

Below listed few important function’s


addcslashes(): gives a string with backslashes in front of the listed char.
addslashes(): gives a string with backslashes in front of predefined characters
bin2hex(): change a string of ASCII characters to hexadecimal values
chop(): Removes blank space or other characters from the right side of a string
chr(): Returns a character from a detailed ASCII value
chunk_split():   Splits a string into a series parts
convert_cyr_string()    Converts a string from one Cyrillic character-set to another

convert_uudecode()    Decodes a uuencoded string

No comments:

Post a Comment