iex>string = "this is a string" You can also use ? to get the code point in front of a car literal iex> ?a 97 More info: https://elixir-lang.org/getting-started/binaries-strings-and-char-lists.html