Click or drag to resize

GlobMatcherGetLongestCommonFolder Method

Gets the longest common folder path shared by the specified paths.

Namespace: Altaxo.Serialization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public static string GetLongestCommonFolder(
	string[] paths,
	bool caseSensitive = false
)

Parameters

paths  String
The paths to analyze.
caseSensitive  Boolean  (Optional)
If set to , segment comparison is case-sensitive.

Return Value

String
The longest common folder path, or an empty string when no paths are provided.
See Also