JUSTSTEM( ) Function

Returns the stem name (the file name before the extension) from a complete path and file name.

JUSTSTEM(cFileName)

Return Value

Character

Parameters

  • cFileName
    Specifies the name (including path) of the file for which you want only the stem. The maximum length of the string passed to cFileName is 259 bytes.

See Also

Reference

ADDBS( ) Function

DEFAULTEXT( ) Function

FILE( ) Function

FORCEEXT( ) Function

FORCEPATH( ) Function

JUSTDRIVE( ) Function

JUSTEXT( ) Function

JUSTFNAME( ) Function

JUSTPATH( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)