How to convert Binary to String?

Hi,

How to convert Binary to String? Thank!

[56 byte] By [hai.rena] at [2007-11-27 10:55:25]
# 1

> Hi,

>

> How to convert Binary to String? Thank!

What do you mean exactly?

prometheuzza at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 2

Strings are binary.

And just in case you're not clever enough to look at the API docs (which I don't assume, hence your problem must be something else), there's a String c'tor that takes a byte array and an encoding.

CeciNEstPasUnProgrammeura at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 3

Why are the forums so filled with requests on how to "convert" things into other things?

georgemca at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 4

May be u r searching this

public static int parseInt(String s,

int radix)

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html#parseInt(java.lang.String,%20int)

SidGatea at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 5

> May be u r searching this

>

> ...

Please make the effort to use normal words instead of those horrible abbreviations: it make you look like a little kid.

prometheuzza at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 6

>

> Please make the effort to use normal words instead of

> those horrible abbreviations: it make you look like a

> little kid.

OK.....

I will expect your next suggestion on my next post

SidGatea at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 7

> OK.....

Thank you.

> I will expect your next suggestion on my next post

Why do you expect such a thing?

prometheuzza at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 8

Never ceases to amaze me how many people cannot accept any form of criticism whatsoever. How do they get through the normal day? Do they pick fights with everyone who says anything to them they don't like?

georgemca at 2007-7-29 11:56:17 > top of Java-index,Java Essentials,Java Programming...
# 9

> Never ceases to amaze me how many people cannot

> accept any form of criticism whatsoever. How do they

> get through the normal day? Do they pick fights with

> everyone who says anything to them they don't like?

Was this for me?

SidGatea at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 10

> Never ceases to amaze me how many people cannot

> accept any form of criticism whatsoever. How do they

> get through the normal day? Do they pick fights with

> everyone who says anything to them they don't like?

Eh, you talking to me?

; )

prometheuzza at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 11

> > Never ceases to amaze me how many people cannot

> > accept any form of criticism whatsoever. How do

> they

> > get through the normal day? Do they pick fights

> with

> > everyone who says anything to them they don't

> like?

>

> Was this for me?

Who are you calling a psycho?

georgemca at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 12

> Do they pick fights with everyone who says anything to them they don't like?

I guess you're not THE george then.

corlettka at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 13

> > Do they pick fights with everyone who says anything

> to them they don't like?

>

> I guess you're not THE george then.

? what THE george ?

georgemca at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 14

> ? what THE george ?

The bushy one.

Hm. Bush-i-do. It all makes sense.

CeciNEstPasUnProgrammeura at 2007-7-29 11:56:18 > top of Java-index,Java Essentials,Java Programming...
# 15

The one who picks a fight with anyone who says anything he doesn't like.

corlettka at 2007-7-29 11:56:22 > top of Java-index,Java Essentials,Java Programming...
# 16

> > ? what THE george ?

>

> The bushy one.

>

> Hm. Bush-i-do. It all makes sense.

Gotcha. I generally pretend he doesn't exist

LOL@bushido pun

georgemca at 2007-7-29 11:56:22 > top of Java-index,Java Essentials,Java Programming...
# 17

> I generally pretend he doesn't exist

Good move.

corlettka at 2007-7-29 11:56:22 > top of Java-index,Java Essentials,Java Programming...