🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16028

Re: Hexadecimal string to string

#16028
From: Omer Azhar Qureshi
Date: Thu, 08 Apr 1999 00:00
14 lines
1236 bytes
Tor,
i dont think that u understood the problem at hand properly,
the Integer.parseInt (HexString, 16) method converts a hexadecimal string
into its decimal equvalant (an int) while the problem requires that a
Hexadecimal String be converted into its ASCII equavalant (also a
String)....
and i have used Integer.parseInt (HexString, 16) to convert each hexadecimal
substring number into its decimal format before converting it into its acsii
one....
well if there is a simpler way to do it than the one ive stated in the algo
i would really like to know cuz i would really reduce the undesired
overheads.... :)
thanx and have a nice day... :)
Oaq
Technical Details
Message-ID: <7ehpfh$1i54@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7doad4$7fo14@forums.borland.com> <uaewmgk1b.fsf@sds.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b25984f20866b948
X-Google-Attributes: gidf74b3,public
From: "Omer Azhar Qureshi" <oaq@systemeltd.com.pk>
Subject: Re: Hexadecimal string to string
Date: 1999/04/08
Message-ID: <7ehpfh$1i54@forums.borland.com>
X-Deja-AN: 463960577
References: <7doad4$7fo14@forums.borland.com> <uaewmgk1b.fsf@sds.no>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language