Changes

Jump to: navigation, search

JavaScript String Object

538 bytes added, 17:03, 27 April 2007
JavaScript String Object Methods
<tr>
<td>small()<td>Makes the string smaller by returning it wrapped in the string in HTML &lt;small&gt; and &lt;/small&gt; elements (e.g <small>Example</small>)</td>
</tr>
<tr>
<td>split(''delimiter'', ''limit'')<td>Accepts a ''delimiter'' and an optional ''limit'' as arguments and returns an array. This array contains the string broekn up into fragments using the ''delimeter'' value to decide where to spit the string. The ''limit'' value allows tyhe developer to impose a limit on how many fragments are returned</td>
</tr>
<tr>
<td>strike()<td>Returns string wrapped in the string in HTML &lt;strike&gt; and &lt;/strike&gt; elements to produce a stikeout effect (e.g <strike>Example</strike>)</td>
</tr>
</table>

Navigation menu