#elixir
You can print a string using the IO.puts/1
function
If you want to change selection, open document below and click on "Move attachment"
Basic types - The Elixir programming language #{string}" "hellö world" Strings can have line breaks in them. You can introduce them using escape sequences: iex> "hello ...> world" "hello\nworld" iex> "hello\nworld" "hello\nworld" <span>You can print a string using the IO.puts/1 function from the IO module: iex> IO.puts("hello\nworld") hello world :ok Notice that the IO.puts/1 function returns the atom :ok after printing. Strings in Elixir are represented internally Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details