<p>Are there any automatic methods for trimming a path string in .NET?</p>

<p>For example:</p>

<pre><code>C:\Documents and Settings\nick\My Documents\Tests\demo data\demo data.emx
</code></pre>

<p>becomes</p>

<pre><code>C:\Documents...\demo data.emx
</code></pre>

<p>It would be particularly cool if this were built into the Label class, and I seem to recall it is--can't find it though!</p>

What you are thinking on the label is that it will put ... if it is longer than the width (not set to auto size), but that would be
```
```
c:\Documents and Settings\nick\My Doc...
```
```
If there is support, it would probably be on the Path class in System.IO