Determines whether or not a character is a upper case alphabetic character.
JSV_isUpper(expC)
expC.isUpper()
The isUpper function returns true if expC is an upper case alphabetic character; otherwise, false.
The isUpper function uses the following argument.
Argument | Description |
expC | The character expression that is tested to be a upper case alphabetic character. |
Upper case alphabetic characters include the letters A through Z.
n/a
The following lines of code
var testString = "Ab1";
document.write( "The first character of " +
testString.bold() +
" is upper case? " +
JSV_isUpper(testString.charAt(0)) );
document.write( "The second character of " +
testString.bold() +
" is upper case? " +
JSV_isUpper(testString.charAt(1)) );
document.write( "The third character of " +
testString.bold() +
" is upper case? " +
JSV_isUpper(testString.charAt(2)) );
produce
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.