S;
replvar(S, Var, Val) ->
re:replace(S, Var, Val, [global, {return, list}]).
start(Type) ->
Topic = replvar(Type, "_", "-"),
io:format("topic is a: ~p~n", [Topic]).
re:replace(S, Var, Val, [global, {return, list}]).
start(Type) ->
Topic = replvar(Type, "_", "-"),
io:format("topic is a: ~p~n", [Topic]).