[This is preliminary documentation and is subject to change.]

Checks whether childPath is inside parentPath

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)

Syntax

   
 C# 
public static bool Contains(
	string parentPath,
	string childPath,
	bool caseSensitive
)

Parameters

parentPath
String
Path that is supposed to contain childPath
childPath
String
Path that is supposed to be contained within parentPath
caseSensitive
Boolean
Whether check should be case-sensitive or case-insensitive.

Return Value

true if childPath is contained within parentPath

See Also