Changes

Jump to: navigation, search

JavaScript String Object

440 bytes added, 17:16, 27 April 2007
JavaScript String Object Methods
</tr>
<tr>
<td>substr(''start'', ''length'')<td>Accepts a start and length (number of characters) as arguments and returns the string fragment that is located between these two positions. ''length'' is optional. If not specified returns fragment from ''start'' index to end of string. If a negative index is passed through the index is referenced from the end of the string.</td>
</tr>
<tr>
</tr>
</table>
 
== JavaScript String Object Properties ==
 
<table border =1>
<tr>
<th>Property<th>Description</th>
</tr>
<tr>
<td>length<td>The length of the string in characters</td>
<tr>
<td>prototype<td>Provides a mechanism for developers to add properties to a string instance (see [[JavaScript Object Basics]] for details on extending objects).
</tr>
</table.

Navigation menu