34,333
edits
Changes
→Creating a JavaScript String Object
returns the postion index of the word ''my'' in the string (the word ''my'' begins position 8 because the first character is always index position 0, '''not''' index position 1).
== JavaScript String Object Methods ==
The following table lists all the methods built into the String object class:
<table>
</table>