The PHP Function Quoted_Printable_Decode()
The php function quoted_printable_decode() decodes a quoted printable string to an 8 bit string. This is useful when you need to send data over a text-only transmission channel like email or newsgroups. This will prevent the data from being mangled by any character conversions (like line-wrapping or tilde conversion) that may occur in transit.
php function addslashes() adds a backslash before certain characters in a string to make it safe to store in a database or display on a web page. For example: "This is John
There are a few PHP string functions that can help you create valid HTML tags. Among them is the htmlspecialchars_decode() function which converts special characters, such as ampersands (&), into their corresponding HTML entities to prevent cross-site scripting attacks.
Another PHP string function is the rtrim() which removes any white spaces or other predefined characters from the right side of a string. This is useful if you want to keep the string short or if you're working with a non-latin alphabet, such as Cyrillic.
The hebrev() and hebrevc() function convert Hebrew text into visual text that can be displayed correctly on a web page. They can even preserve logical sequences that are written in right to left form. Finally, the levenshtein() function calculates the Levenshtein distance between two strings. This is a measure of how much work it would take to transform stringone into stringtwo.