<?php $input = 'Tester Test Street 11 (Nursing Home, Example), 1120 New York'; $pos = strrpos($input, ','); $prefix = substr($input, 0, $pos); $suffix = substr($input, $pos + 1); var_dump($prefix); var_dump($suffix);
You have javascript disabled. You will not be able to edit any code.