- strstr: documentation ( source)
- chop: documentation ( source)
<?php
$o ='<label for="id_title" class="control-label">Title</label>';
$label = strstr('<label for="id_title" class="control-label">Title</label>', '>');
chop($o, $label);
echo($o);