Remove characters

I have tried to Google a solution to this, but am not having much success.

I have a CSV file that contains ID numbers, but characters 15 and 16 change, and are not needed.

How can I have those two number removed?

Example:
Original ID: AA0D040001FFFFB330C010988000
Numbers not needed: B3
End result needed: AA0D040001FFFF30C010988000

I appreciate your help.

Here’s a tutorial on how to open and read a text file

http://www.w3schools.com/php/php_file_open.asp

And to replace those to characters you would use str_replace function, here’s a tutorial for that.

http://www.w3schools.com/php/func_string_str_replace.asp

Good Luck.

Sponsor our Newsletter | Privacy Policy | Terms of Service