Curly-decimals string format.
E.g. `cdfmt("Hi, {0}! Pls, {1} the {2}.")("Smith", "frobnicate", "quibplatz")` => `"Hi, Smith! Pls, frobnicate the quibplatz!"`.
Credits: https://gist.github.com/0i0/1519811
Herbert Vojčík 97d1c530be Implementation. | il y a 8 ans | |
---|---|---|
lib | il y a 8 ans | |
src | il y a 8 ans | |
.gitignore | il y a 8 ans | |
README.md | il y a 8 ans | |
package.json | il y a 8 ans |
Curly-decimals string format.
E.g. cdfmt("Hi, {0}! Pls, {1} the {2}.")("Smith", "frobnicate", "quibplatz")
=> "Hi, Smith! Pls, frobnicate the quibplatz!"
.
Credits: https://gist.github.com/0i0/1519811