In php is there a quick way of replacing every other character (non spaces) in a string with something else ? I searched around and haven't found a solution.
Take something like this:
$str = "This is my example string!"
And end up with something like this:
$result = "T*i* i* m* e*a*p*e s*r*n*!