Opposite of chr()?

Discussion in 'PHP' started by mahmood, Aug 15, 2007.

  1. #1
    I know that using chr I can get the character providing Ascii code, how an I do the reverse?

    Is there a way that programattically I can find the ASCII code of a chracter?
     
    mahmood, Aug 15, 2007 IP
  2. Kuldeep1952

    Kuldeep1952 Active Member

    Messages:
    290
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Ord() function complements chr().
     
    Kuldeep1952, Aug 15, 2007 IP