| “I think I can safely say that nobody understands quantum mechanics.” Richard Feynman | |||||||||
![]() |
|||||||||
“a resource for web developers...” |
|||||||||
Up to JavaScript: Strings overview page
Where 'substring()' is an example of a method that can accept either one or two parameters.
Note that these methods do not cause a 'state change' of the string.
Above confirms that a string is just an 'array' of characters indexed from 0.
Copyright © 2006-2010 justfigures.co.uk