1 Reply Latest reply on Jun 25, 2008 8:15 AM by 800282

    string --> byte

    807589
      is there any way i can convert a string to byte?

      what i have successfully done is:-
      input = 4a (string)
      output = 74 (byte)

      however, what i want is:-
      input = 4a (string)
      output = 4a (byte)

      is it possible?
      if yes, how?

      tq very much
        • 1. Re: string --> byte
          800282
          fmpfmpf wrote:
          is there any way i can convert a string to byte?

          what i have successfully done is:-
          input = 4a (string)
          output = 74 (byte)

          however, what i want is:-
          input = 4a (string)
          output = 4a (byte)

          is it possible?
          if yes, how?

          tq very much
          Practically the same answer as as reply #1 in your other thread:
          [http://forum.java.sun.com/thread.jspa?threadID=5308004]

          It has been suggested before, but I recommend you do some basic tutorials or read a beginners book on Java.