How to get the tail of a std::string?
<p>How to retrieve the tail of a <code>std::string</code>?</p>

<p>If wishes could come true, it would work like that:</p>

<pre><code>string tailString = sourceString.right(6);
</code></pre>

<p>But this seems to be too easy, and doesn't work...</p>

<p>Any nice solution available?</p>

<p>Optional question: How to do it with the Boost string algorithm library?</p>

<p><strong>ADDED:</strong></p>

<p>The method should be save even if the original string is smaller than 6 chars.</p>
