cStringParameter used by the function. Check the Portuguese source page for the detailed original wording while this entry remains under review.
AdvPL GuideAllTrim( <cString> )Removes leading and trailing blank spaces from a string.
Removes leading and trailing blank spaces from a string. This page was created from the historical training material and structured for quick reference, with practical notes and cautious use in current Protheus environments.
AllTrim( <cString> )cStringParameter used by the function. Check the Portuguese source page for the detailed original wording while this entry remains under review.
User Function ExAllTrim()
Local cName := " Test Customer "
MsgInfo("Name: " + AllTrim(cName))
ReturnThe message shows the name without leading or trailing spaces.
© 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.