Greetz to you all
Well i have an array that contain some characters and i want to check if they form part of a string.If yes then they should be deleted
How to do this via php
For e.g
$string = 'Dani.web';
$charRemove = array('.','-','~','#','!','(',')','+',',');
I want to get a piece of code that will remove the '.' from the string and make it asDaniweb
Note:I just want to delete the characters in array $charRemove that form part of string.There might be multiple occurences of any character of in $charRemove.
Thanks for the help