Remove spaces from a file name specified as a string, changing the contents of the original file name as well as the returned file name.
XSharp.Core (in XSharp.Core.dll) Version: 2.6
Syntax Request Example
cFileName REF STRING
) AS STRING
public static string AdjustFNameA(
ref string cFileName
- Type: String
The file name you want to adjust.
<cFileName> with all spaces removed.
AdjustFNameA() is the same as AdjustFName(), except that AdjustFNameA() removes the spaces from the original file name as well as those in the return value.
This example shows how AdjustFNameA() returns a new file name with spaces removed and adjusts the original file name as well:
1cFile := " BadFileName .DBF"