String.charAt() Method
Name
String.charAt() Method---get the nth character from a string
Navigator 2.0, Internet Explorer 3.0
Synopsis
- n
-
The index of the character that should be returned from string.
The nth character of string.
String.charAt() returns the nth character
of the string string. The first character of the
string is numbered 0. If n is not between 0 and
string.length - 1, then this method returns
an empty string. Note that JavaScript does not have a
character datatype that is distinct from the string type, so
the returned character is a string of length 1.
String.bold()
String.fixed()
file: /Techref/language/java/script/definitive/refp_359.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月16日 09:12,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/language/java/script/definitive/refp_359.htm"> [Chapter 21] Reference: String.charAt()</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.