prettyprint">
Is.SubPath( string expectedPath )
</pre></div>

<h4>Modifiers</h4>
<div class="code"><pre class="prettyprint">
...IgnoreCase
...RespectCase
</pre></div>

<h4>Examples of Use</h4>

<div class="code"><pre class="prettyprint">
Assert.That( "/folder1/./junk/../folder2",
	Is.SubPath( "/folder1/folder2" ) );
Assert.That( "/folder1/junk/folder2",
	Is.Not.SubPath( "/folder1/folder2" ) );

Assert.That( @"C:\folder1\folder2\folder3",
	Is.SubPath( @"C:\Folder1\Folder2/Folder3" ).IgnoreCase );
Assert.That