-module(helloworld).
-import(string,[str/2]).
-export([start/0]).
start() ->
Str1 = "hello World",
Index1 = str(Str1,"hello"),
io:fwrite("~p~n",[Index1]).
-module(helloworld).
-import(string,[str/2]).
-export([start/0]).
start() ->
Str1 = "hello World",
Index1 = str(Str1,"hello"),
io:fwrite("~p~n",[Index1]).