Hi Experts,
I am looking for built in function something like String builder with Placeholders.
Iet say in C like languages usuall you wold have function that looks like:
print(" Some string %placeholder1, string continues…%placeholder2 ", var1, var2)
#vars goes to placeholders
`Do we have something similar in Elixir ?
Use Case:
User provides: custom url with placeholders and separately details.
Then later url should be combined with data into proper url.
User: 223344
Lang: eng
Type: json | xml
Original URL
http: // somesite. com/?i=#{id}&lang=#{language}&type=api&api_v=1&api_type=#{data_type}"
Updated URL
https: // somesite. com/?i=#223344&lang=#eng&type=api&api_v=1&api_type=#json"






















