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