Is there any way to get ASCII symbols by number in Ruby? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is there any way to get ASCII symbols by number in Ruby?

So I know that you can do it in python using chr(x). but id like to know if theres also a way in ruby, and if yes how.

15th Mar 2017, 10:25 AM
Supersebi3
Supersebi3 - avatar
1 Answer
+ 3
nvm found it, use putc
15th Mar 2017, 10:37 AM
Supersebi3
Supersebi3 - avatar