public function toClean($string = null)
    {
        $attrib = $string;
        if (! $attrib && isset($this->attributes["address"])) 
            $attrib = $this->attributes["address"];

        return strtoupper(preg_replace("/[^a-zA-Z0-9]+/", "", $attrib));
    }
public function toClean($string = null)
    {
        $attrib = $string;
        if (! $attrib && isset($this->attributes["address"])) 
            $attrib = $this->attributes["address"];

        return strtoupper(preg_replace("/[^a-zA-Z0-9]+/", "", $attrib));
    }
public function toClean ( $ string = null ) { $ attrib = $ string ; if ( ! $ attrib && isset ( $ this -> attributes [ "address" ] ) ) $ attrib = $ this -> attributes [ "address" ] ; return strtoupper ( preg_replace ( "/[^a-zA-Z0-9]+/" , "" , $ attrib ) ) ; }
Helper to clean an address of any non alpha-numeric characters
back to the actual Base32 representation of the address.

@return string
Helper to clean an address of any non alpha - numeric characters back to the actual Base32 representation of the address .