cFileCharacterRequired
File path and/or name.
AdvPL GuideFileNoExt( <cArquivo> )Returns a file path/name without its extension.
FileNoExt() removes the extension from the informed file name while preserving the remaining path when it exists.
FileNoExt( <cArquivo> )cFileFile path and/or name.
#Include "TOTVS.ch"
User Function ExFileNoExt()
Local cArquivo := "\SIGAADV\ARQZZZ.DBF"
MsgInfo(FileNoExt(cArquivo)) // \SIGAADV\ARQZZZ
ReturnThe .DBF extension is removed and the path is preserved.
© 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.