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. | 8 years ago | |
---|---|---|
lib | 8 years ago | |
src | 8 years ago | |
.gitignore | 8 years ago | |
README.md | 8 years ago | |
package.json | 8 years ago |
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