<?php $address_input = "555 Test Drive, Johannesburg, South Africa"; if(substr_count($address_input, ",") >1){ $address = substr($address_input, strpos($address_input, ",")+2); } echo $address;
You have javascript disabled. You will not be able to edit any code.