string format

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

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/1131145/string%20format.js

Author
捈荼
Version
2.0.2
Created
2022-10-27
Updated
2022-12-23
License
Apache-2.0

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

e.g.

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