public function stripNamespace($mbox)
    {
        $mbox = strval($mbox);
        $name = $this->name;

        return (strlen($name) && (strpos($mbox, $name) === 0))
            ? substr($mbox, strlen($name))
            : $mbox;
    }
public function stripNamespace($mbox)
    {
        $mbox = strval($mbox);
        $name = $this->name;

        return (strlen($name) && (strpos($mbox, $name) === 0))
            ? substr($mbox, strlen($name))
            : $mbox;
    }
public function stripNamespace ( $ mbox ) { $ mbox = strval ( $ mbox ) ; $ name = $ this -> name ; return ( strlen ( $ name ) && ( strpos ( $ mbox , $ name ) === 0 ) ) ? substr ( $ mbox , strlen ( $ name ) ) : $ mbox ; }
Strips namespace information from the given mailbox name.

@param string $mbox  Mailbox name.

@return string  Mailbox name with namespace prefix stripped.
Strips namespace information from the given mailbox name .