ForceExt Function (String, String) | |
Returns a string with the old file name extension replaced by a new extension.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax FUNCTION ForceExt(
cFileName AS STRING,
cExtension AS STRING
) AS STRING
public static string ForceExt(
string cFileName,
string cExtension
)
Request Example
View SourceParameters
- cFileName
- Type: String
Specifies the file name (with or without a path or extension), which will get a new extension.
- cExtension
- Type: String
Specifies the new extension (without a period) for cFileName.
Return Value
Type:
String
Character
See Also