RosettaCodeData/Task/String-concatenation/Erlang/string-concatenation.erl
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

4 lines
91 B
Erlang

S = "hello",
S1 = S ++ " literal",
io:format ("~s literal~n",[S]),
io:format ("~s~n",[S1])