Categories
How to convert text to encoding 36 and back?
To get a 36 digit code, I use: How can I now get "A" from the received "1t " ? let c = "A".charCodeAt(0).toString(36); // 1t
let c = "A".charCodeAt(0).toString(36); // 1t
Answer the question
In order to leave comments, you need to log in
String.fromCharCode(parseInt(c, 36));
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question