-module(helloworld).
-import(string,[concat/2]).
-export([start/0]).
start() ->
Str1 = "This is a ",
Str2 = "string",
Str3 = concat(Str1,Str2),
io:fwrite("~p~n",[Str3]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266279.html