Functions.JustExt Method (String) |  |
Returns the characters of a file extension from a complete path.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.17
Syntax FUNCTION JustExt(
cPath AS STRING
) AS STRING
public static string JustExt(
string cPath
)
Request Example
View SourceParameters
- cPath
- Type: String
Specifies the name, which may include the full path, of the file for which you want to extract information.
The maximum length of the string passed to cPath is determined by the Operating System.
Return Value
Type:
StringString
Examples1? JustDrive("C:\Folder\test.txt")
2? JustExt("C:\Folder\test.txt")
3? JustPath("C:\Folder\test.txt")
4? JustFName("C:\Folder\test.txt")
5? JustStem("C:\Folder\test.txt")
See AlsoReference
FunctionsJustExt(String)