classes/phing/util/StringHelper.php
public static function unqualify($qualifiedName, $separator = '.')
    {
        // if false, then will be 0
        $pos = strrpos($qualifiedName, $separator);
        if ($pos === false) {
            return $qualifiedName; // there is no '.' in the qualifed name
        } else {
            return substr($qualifiedName, $pos + 1); // start just after '.'
        }
    }
public static function unqualify($qualifiedName, $separator = '.')
    {
        // if false, then will be 0
        $pos = strrpos($qualifiedName, $separator);
        if ($pos === false) {
            return $qualifiedName; // there is no '.' in the qualifed name
        } else {
            return substr($qualifiedName, $pos + 1); // start just after '.'
        }
    }
public static function unqualify ( $ qualifiedName , $ separator = '.' ) { // if false, then will be 0 $ pos = strrpos ( $ qualifiedName , $ separator ) ; if ( $ pos === false ) { return $ qualifiedName ; // there is no '.' in the qualifed name } else { return substr ( $ qualifiedName , $ pos + 1 ) ; // start just after '.' } }
Remove qualification to name.
E.g. eg.Cat -> Cat

@param string $qualifiedName
@param string $separator Character used to separate.

@return string
Remove qualification to name . E . g . eg . Cat - > Cat