AsciiTable.xyz
  • Extended
  • Blog
Convert a String or Character to ASCII code and vice versa in Ruby

Convert a String or Character to ASCII code and vice versa in Ruby

Rajeev Singh1 mins

In this article, you'll learn How to convert a character to ASCII code as well as convert an ASCII code to character in Ruby. Ruby provides two functions called ord() and chr() for converting character to ASCII code and vice versa.

C program to find the ASCII value of a character and vice versa

C program to find the ASCII value of a character and vice versa

Rajeev Singh1 mins

In this article, you'll learn how to find the ASCII value of a character in C. In addition, you'll also learn how to find the character corresponding to an ASCII code ranging from 0 to 127.

Java program to convert a character to ASCII code and vice versa

Java program to convert a character to ASCII code and vice versa

Rajeev Singh1 mins

In this article, you'll learn how to convert a character to an ASCII code and vice versa in Java. The conversion from ASCII code to character and character to ASCII code is done using type casting.

Javascript program to convert a character to ASCII code and vice versa

Javascript program to convert a character to ASCII code and vice versa

Rajeev Singh1 mins

Learn how to convert a given character to ASCII code and how to convert an ASCII code to its associated character in Javascript.

Python program to convert a character to ASCII code and vice versa

Python program to convert a character to ASCII code and vice versa

Rajeev Singh2 mins

In this article, you'll learn How to convert a character to ASCII code as well as convert an ASCII code to character in Python. Python provides two functions called ord() and chr() for converting character to ASCII code and vice versa respectively.

Go program to convert a character to ASCII code and vice versa

Go program to convert a character to ASCII code and vice versa

Rajeev Singh2 mins

This article teaches you how to find the ASCII value of a character in Golang. It also teaches you how to do the opposite, that is, How to find the character from an ASCII code.

AsciiTable.xyz
Copyright © 2018 AsciiTable.xyzPrivacy Policy
  • Home
  • Blog
  • Download
  • About
  • Contact
  • Base64 Encoder
  • Base64 Decoder
  • JSON Formatter
  • URL Encoder
  • URL Decoder
  • EMI Calculator
  • CalliCoder
  • ASCII to Binary
  • ASCII to Decimal
  • ASCII to Hex