cStringString to inspect.
AdvPL GuideIsLower(cString) -> lResultChecks whether the first character is a lowercase letter.
Evaluation is limited to the first character and ASCII a–z. It does not validate whether the whole string is lowercase. The official note mentions IsUpper, apparently an editing error; description and syntax concern IsLower. (Sources: refs. 1–1.)
IsLower(cString) -> lResultcStringString to inspect.
Logical result for the first character.
#Include "Protheus.ch"
User Function Ed497()
// The second letter does not determine the result.
ConOut(IsLower("aB"))
ConOut(IsLower("Ab"))
Return NilaB returns true; Ab returns false. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.