<?php $object = 'Toto:class'; echo substr($object, 0, strpos($object, ':'));
You have javascript disabled. You will not be able to edit any code.