- "name": "string",
- "doc": "<p>The string to escape</p>\n",
- "optional": false
- }
- ],
- "return": {
- "type": "String",
- "doc": "<p>The escaped string</p>\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/lang/String.js",
- "linenr": 140,
- "html_filename": "String.html",
- "href": "String.html#Ext-String-method-escape",
- "shortDoc": "<p>Escapes the passed string for ' and \\</p>\n"
- },
- {
- "tagname": "method",
- "name": "escapeRegex",
- "member": "Ext.String",
- "doc": "<p>Escapes the passed string for use in a regular expression</p>\n",
- "params": [
- {
- "type": "String",
- "name": "string",
- "doc": "\n",
- "optional": false
- }
- ],
- "return": {
- "type": "String",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/lang/String.js",
- "linenr": 131,
- "html_filename": "String.html",
- "href": "String.html#Ext-String-method-escapeRegex",
- "shortDoc": "<p>Escapes the passed string for use in a regular expression</p>\n"
- },
- {
- "tagname": "method",
- "name": "format",
- "member": "Ext.String",
- "doc": "<p>Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each\ntoken must be unique, and must increment in the format {0}, {1}, etc. Example usage:</p>\n\n<pre><code>var cls = 'my-class', text = 'Some text';\nvar s = Ext.String.format('<div class=\"{0}\">{1}</div>', cls, text);\n// s now contains the string: '<div class=\"my-class\">Some text</div>'\n </code></pre>\n\n",
- "params": [
- {
- "type": "String",
- "name": "string",
- "doc": "<p>The tokenized string to be formatted</p>\n",
- "optional": false