Changes

Jump to: navigation, search

JavaScript String Object

334 bytes added, 13:49, 27 April 2007
JavaScript String Object Methods
</tr>
<tr>
<td>italicitalics()<td>Coverts the string to be displayed in italics. Equivalent to wrapping the string in HTML &lt;i&gt; and &lt;/i&gt; elements (e.g. <i>Example</i>) </td>
</tr>
<tr>
<td>lastIndexOf()<td>Takes a string as an argument and returns the index of the last occurance of that string in an instance of a String object. Returns -1 if no match to the string is found.</td>
</tr>
<tr>
<td>link()<td>Accepts a URL as an argument and constructs an &lt;a&gt; tag using the URL as the href value.</td>
</tr>
 
</table>

Navigation menu