Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_fext( <cfilespec> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_FEXT( <cFilespec> )


Parameters

<cFilespec>
Filespec to parse.


Returns

Extension (file type) portion of filespec (including leading ".").

Note  A solitary "." is a valid extension.

If no extension was specified, null string ("") is returned.


Description

N_FEXT() does not verify the existence of the filespec.


Examples

// Returns string '.dbf'
? N_FEXT('C:\appl\custfile.dbf')
.dbf

// Returns null string since no extension
// was specified
? N_FEXT('\appl\tempfile')

// Returns '.'
? N_FEXT('data.')
.



See Also: N_FDRIVE() N_FMAP() N_FNAME() N_FPATH()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson