add nice function to use, str_accept()

Created a  str_accept() function,  that is opposite to the  str_replace() function