I have a string, that contains multiple values, and has a prefix of ***. Here's an example:
$value = 'a.first_name, a.last_name, a.address, a.city, a.state, b.phone_num, bc.gender, vfr.rating';
// instead, I'd like for it to display like this
$value = 'first_name, last_name, address, city, state, phone_num, gender, rating';
Basically, I'd like to remove the "." and everything that comes before it for each element.
As you can see, the prefix may contain 1-n characters to remove.
How might I accomplish this?
Thanks in advance!
-E