-module(helloworld).
-import(string,[right/3]).
-export([start/0]).
start() ->
Str1 = "hello",
Str2 = right(Str1,10,$.),
io:fwrite("~p~n",[Str2]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266286.html
-module(helloworld).
-import(string,[right/3]).
-export([start/0]).
start() ->
Str1 = "hello",
Str2 = right(Str1,10,$.),
io:fwrite("~p~n",[Str2]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266286.html