strip



Php Remove Non-Alphanumeric Characters

How to strip all symbols and numbers from a string of alphanumeric text. This php code will help you delete, remove, strip and erase any non-alphanumeric characters, and then return the data without the unwanted characters.

(35 votes, average: 4.46 out of 5)
12.27.06


PHP strip remove white space from end of string

Need to remove the white space at the end of a string before recording the data. Use PHP’s rtrim().

(4 votes, average: 4.00 out of 5)
03.26.04