small question on conversion from an integer to ASCII code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JavaStudent07
    New Member
    • Jan 2007
    • 64

    #1

    small question on conversion from an integer to ASCII code

    I have a list, I need to print it out in characters as a "Secret Message" :) this is the list, have any ideas on the conversion methods from the numbers to ASCII code format for me?

    [PHP]67 79 77 80 85 84 69 82 83 32 34 82 69 32 70 85 78 32 33[/PHP]

    Thanks in advance,
    Steve
    Last edited by JavaStudent07; Apr 25 '07, 03:34 PM. Reason: looked bad
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Code:
    System.out.println(new String(new char[] { 
    67,79,77,80,85,84,69,82,83,32,34,82,69,32,70,85,78,32,33 }));
    kind regards,

    Jos

    Comment

    Working...