Changes

Jump to: navigation, search

JavaScript String Object

241 bytes added, 14:15, 27 April 2007
JavaScript String Object Methods
<tr>
<td>match()<td>Accepts a regular expression as an argument and returns an array of matches found in the String object instance.</td>
</tr>
<tr>
<td>replace()<td>Accepts two arguments: a regular expression and a replacement string. Converts all matches to the regular expression in a String object instance with tyhe replacement string. Returns -1 if no match is found.</td>
</tr>
</table>

Navigation menu