Changes

Jump to: navigation, search

JavaScript String Object

178 bytes added, 13:46, 27 April 2007
JavaScript String Object Methods
<tr>
<td>indexOf()<td>Takes a string as an argument and returns the index of the first 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>italic()<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>
</table>

Navigation menu