Lines Matching refs:substring
13334 return url.substring(url.lastIndexOf('/', end) + 1, end);
13854 var chunk1 = s.substring(0, offset);
13855 var chunk2 = s.substring(offset + remove);
17233 chars += '&#x' + (0x10000 + code).toString(16).substring(1) + ';';
17384 if (entity.substring(0, 2) === '#x') {
17385 return String.fromCharCode(parseInt(entity.substring(2), 16));
17386 } else if (entity.substring(0, 1) === '#') {
17387 return String.fromCharCode(parseInt(entity.substring(1), 10));
17424 name = s.substring(start, pos);
17457 attrValue = s.substring(pos, attrEndIndex);
17489 name = s.substring(start, pos);
17497 value = s.substring(attrStart, pos);
17528 this.onEndElement(s.substring(j, q));
17537 if (s.substring(j + pi.parsed, j + pi.parsed + 2) !== '?>') {
17547 if (s.substring(j + 1, j + 3) === '--') {
17555 this.onComment(s.substring(j + 3, q));
17557 } else if (s.substring(j + 1, j + 8) === '[CDATA[') {
17565 this.onCdata(s.substring(j + 8, q));
17567 } else if (s.substring(j + 1, j + 8) === 'DOCTYPE') {
17588 var doctypeContent = s.substring(j + 8, q + (complexDoctype ? 1 : 0));
17608 if (s.substring(j + content.parsed, j + content.parsed + 2) === '/>') {
17610 } else if (s.substring(j + content.parsed, j + content.parsed + 1) !== '>') {
17624 var text = s.substring(i, j);
20922 return s.substring(0, s[i] === '.' ? i : i + 1);