2 Replies Latest reply: Apr 2, 2007 5:41 AM by 807606 RSS

    To find the hex value of a character???

      hi friends,
      How can v find the hexadecimal value of a character in java ?

      For example i ve a string "java". i need the output to be the corresponding hexadecimal value of that string. ie, j ->6A, a->61, v->76, a->61.
      so the o/p should be
      6A 61 76 61

      pls anybody help me. also pls tell me how can we know such methods r ther..

      thnxs in advance