Faqts : Computers : Programming : Languages : PHP : Common Problems : Strings

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

13 of 22 people (59%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How can I strip binary characters out of a string?

Mar 28th, 2000 18:10
Dave Garth, unknown unknown,


You could try using a reg_replace() to find all characters 
chr(128)-chr(255) and replacing them with nothing.
I actually ended up using Perl and the s// operator