Single-quoted strings in Elixir are represented by a list of integer values, each value representing a character.
Get the integer code of a character using ?
:
iex> ?a
97
iex> ?8
56
iex> ?+
43
Single-quoted strings in Elixir are represented by a list of integer values, each value representing a character.
Get the integer code of a character using ?
:
iex> ?a
97
iex> ?8
56
iex> ?+
43