<?php $agent = 'test+agent'; $agent = split('\+', $agent); $first = substr($agent[0],0,1); $last = $agent[1]; $agent= $first.$last; echo $agent;
You have javascript disabled. You will not be able to edit any code.