cPhraseCharacterRequired
Text to be formatted.
AdvPL GuideCapital( <cFrase> )Adjusts a phrase to capitalized uppercase/lowercase.
Capital() converts the first letter of each word to uppercase and the rest to lowercase, helping standardize display text.
Capital( <cFrase> )cPhraseText to be formatted.
#Include "TOTVS.ch"
User Function ExCapital()
Local cTexto := "tEXTO de EXEMPLO"
MsgInfo(Capital(cTexto)) // Texto De Exemplo
ReturnThe text is displayed with each word starting in uppercase.
© 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.