Lines Matching refs:Substring
39 var s1 = s.substring(1);
48 assertEquals(s.substring(s.length - 1), s.substr(-1));
49 assertEquals(s.substring(s.length - 1), s.substr(-1.2));
50 assertEquals(s.substring(s.length - 1), s.substr(-1.7));
51 assertEquals(s.substring(s.length - 2), s.substr(-2));
52 assertEquals(s.substring(s.length - 2), s.substr(-2.3));
53 assertEquals(s.substring(s.length - 2, s.length - 1), s.substr(-2, 1));
74 var z = x.substring(i, i+j);
92 var z = x.substring(i, i + j);
102 // Keep creating strings to to force allocation failure on substring creation.
115 var z = x.substring(i % xl);
134 var z = x.substring(i % xl);
139 // Substring of substring.
144 var z = last.substring(i);