Click or drag to resize

ProjectFolderGetNamePart Method

Gets the name portion of a full name. Can either be the name of an item (worksheet, graph) or a full folder name. If the name of a item (worksheet or graph) is provided, the item's name without folder name is returned (thus containing no DirectorySeparatorChar)directory name is returned. If a full folder path is provided (i.e. either an empty string or a string ending with a DirectorySeparatorChar), the name of the last folder of the full folder path (!) is returned.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string GetNamePart(
	string fullName
)

Parameters

fullName  String
The full item or folder name.

Return Value

String
The name portion of fullName.
See Also