Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created January 3, 2009 19:26
Show Gist options
  • Save johnbender/42922 to your computer and use it in GitHub Desktop.
Save johnbender/42922 to your computer and use it in GitHub Desktop.
deal_with_strings() ->
Result = string:format("~s ~s", ["very" , "simple"]),
%% is much cleaner than
Result2 = lists:flatten(io_lib:format(("~s ~s", ["very" , "simple"])).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment