Results 1 to 2 of 2

Thread: String

  1. #1
    suchitra Guest

    Default String

    How can i get the ASCII value of a character in Java.?

  2. #2
    Join Date
    Dec 1969

    Default RE: String

    java or javascript?<BR><BR>javascript is<BR><BR>strItem.charCodeAt(charPos)<BR><BR>where charPos is an integer value specifying position within the String represented by strItem<BR><BR>"fred".charCodeAt(1) returns 114<BR><BR>as for Java - i can look into it, it&#039;ll take a minute or two<BR><BR>j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts