token...</div><div class="long"><static> Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each\r
token must be unique, and must increment in the format {0}, {1}, etc. Example usage:\r
<pre><code><b>var</b> cls = <em>'my-class'</em>, text = <em>'Some text'</em>;\r
<b>var</b> s = String.format(<em>'<div class=<em>"{0}"</em>>{1}</div>'</em>, cls, text);\r
token...</div><div class="long"><static> Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each\r
token must be unique, and must increment in the format {0}, {1}, etc. Example usage:\r
<pre><code><b>var</b> cls = <em>'my-class'</em>, text = <em>'Some text'</em>;\r
<b>var</b> s = String.format(<em>'<div class=<em>"{0}"</em>>{1}</div>'</em>, cls, text);\r