|
FilePathTrimFileName Method
|
Returns a file name, for display purposes, of the specified length using "..." to indicate a longer name.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
SyntaxGSF.IO.FilePath.TrimFileName = function(filePath, length);
View SourceParameters
- filePath String
- The file path to be trimmed.
- length Int32
- The maximum length of the trimmed file path.
Return Value
StringTrimmed file path.
Remarks
Minimum value for the length parameter is 12. 12 will be used for any value
specified as less than 12.
See Also