FORCEEXT( ) Function

JavaScript Editor js editor     Web development 



Main Page

Returns a string with the old file name extension replaced by a new extension.

FORCEEXT(cFileName, cExtension)

Parameters

cFileName


Specifies the file name (with or without a path or extension), which will get a new extension.
cExtension


Specifies the new extension (without a period) for cFileName.

Return Value

Character

See Also



JavaScript Editor js editor     Web development