Remove prefix substring from string
<p>I have a string <code>abc.def.ghi.j</code> and I want to remove <code>abc.</code> from that, so that I have <code>def.ghi.j</code>. </p>

<p>1) What would be the best approach to remove such a prefix which has a specific pattern?</p>

<p>2) Since in this case, <code>abc</code> is coincidentally the prefix, that probably makes things easier. What if we wanted <code>abc.ghi.j</code> as the output?</p>

<p>I tried it with the <code>split</code> method like this</p>

<pre><code>set name abc.def.ghi.j
set splitVar [split $name {{abc.}} ]
</code></pre>

<p>The problem is that it splits across each of <code>a</code>, <code>b</code>, <code>c</code> and <code>.</code> seperately instead of as a whole.</p>