Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to convert a character to ASCII code in Javascript?

NickFNickF USAMember Posts: 132

Can someone please let me know how to do this?



  • JadokJadok Nantes, FranceMember Posts: 4

    You can do that:
    String.charCodeAt(0) which return the ascii code of the first char un this String
    and the opposite:
    String.fromCharCode(32) which do a space

    but you should tape that on google, you can easly find an answer

Sign In or Register to comment.