Find and Replace Character of Strings in PHP

If you have strings of character and you want to find and replace specific character from string. You can do by using strpos() function of PHP. Let me explain you with an example. Let’s say we have variable which contains string: $member_list = ‘[“30″,”31″,”32”]’; You want to remove [ character from it if (strpos($member_list,'[‘) !== … Read moreFind and Replace Character of Strings in PHP