% Erlang to_lower转为小写函数
-module(helloworld).
-import(string,[to_lower/1]).
-export([start/0]).
start() ->
Str1 = "HELLO WORLD",
Str2 = to_lower(Str1),
io:fwrite("~p~n",[Str2]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266287.html