Name
IsUpper -- check if character is an uppercase letter (V7.0)
Synopsis
bool = IsUpper(s$[, pos, encoding])
Function
Checks if the character at index pos inside string s$ is an uppercase letter and returns True if it is, otherwise False. The optional pos parameter must be in characters, not in bytes. It defaults to 0 which will test the first character in s$.

The optional encoding parameter can be used to set the character encoding to use. This defaults to the default string encoding set using SetDefaultEncoding(). See Character encodings for details.

Inputs
s$
source string
pos
optional: index of character to test (defaults to 0)
encoding
optional: character encoding to use (defaults to default string encoding)
Results
bool
True or False, depending on the test's result

Show TOC