string format

Format a string with '{0}','{1}'...

As of 2022-10-29. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/453846/1110650/string%20format.js

Author
捈荼
Version
2.0.1
Created
2022-10-27
Updated
2022-10-29
Size
879 Bytes
License
MIT

Format a string with '{0}','{1}'...

e.g.

'1+1 = {0}'.format(1 + 1);