AdjustFName Function | |
Remove spaces from a file name specified as a string.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION AdjustFName(
cFileName AS STRING
) AS STRING
public static string AdjustFName(
string cFileName
)
Request Example
View SourceParameters
- cFileName
- Type: String
The file name you want to adjust.
Return Value
Type:
StringcFileName with all spaces removed.
Remarks Examples
This example shows how AdjustFName() removes the spaces from a file name without affecting the original file name:
1cFile := " BadFileName .DBF"
2? AdjustFName(cFile)
3? cFile
See Also