Changes

Jump to: navigation, search

JavaScript String Object

205 bytes added, 13:34, 27 April 2007
JavaScript String Object Methods
<tr>
<td>fontsize()<td>Specifies the color of the string. Equivalent to wrapping the string in HTML &lt;font size="''size''"&gt; and &lt;/font&gt; elements (e.g. <font size="4pt">Example</font>) </td>
</tr>
<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>
</table>

Navigation menu