GlobMatcherGetLongestCommonFolder Method |
Gets the longest common folder path shared by the specified paths.
Namespace: Altaxo.SerializationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic 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
StringThe longest common folder path, or an empty string when no paths are provided.
See Also