-module(helloworld).
-import(string,[len/1]).
-export([start/0]).
start() ->
Str1 = "This is a string1",
Len1 = len(Str1),
io:fwrite("~p~n",[Len1]).
-module(helloworld).
-import(string,[len/1]).
-export([start/0]).
start() ->
Str1 = "This is a string1",
Len1 = len(Str1),
io:fwrite("~p~n",[Len1]).