# File lib/street_address.rb, line 827
      def to_s(format = :default)
        s = ""
        case format
        when :line1
          s += line1(s)
        else
          if intersection?
            s += prefix + " " unless prefix.nil?
            s += street 
            s += " " + street_type unless street_type.nil?
            s += " " + suffix unless suffix.nil?
            s += " and"
            s += " " + prefix2 unless prefix2.nil?
            s += " " + street2
            s += " " + street_type2 unless street_type2.nil?
            s += " " + suffix2 unless suffix2.nil?
            s += ", " + city unless city.nil?
            s += ", " + state unless state.nil?
            s += " " + postal_code unless postal_code.nil?
          else
            s += line1(s)
            s += ", " + city unless city.nil?
            s += ", " + state unless state.nil?
            s += " " + postal_code unless postal_code.nil?
            s += "-" + postal_code_ext unless postal_code_ext.nil?
          end
        end
        return s
      end