<?php $area_elements = ['EC1 2AY', 'EC3 4XW']; foreach($area_elements as &$v){ $v = substr($v, 0, -4); } print_r($area_elements);
You have javascript disabled. You will not be able to edit any code.