Hi Nobert,<br><br>I corrected myself in the following mail with this one.<br>I did : aRealStyle.copy(aRealStyle.indexOf(aSep) + aSep.getLength());<br>which I suppose is doing the same thing as required.<br><br>since foo.erase(0,n) => foo=foo.copy(n)<br>
<br>Still, if I am wrong, then please inform.<br><br>Thanks<br>Prashant<br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 4:17 AM, Norbert Thiebaud <span dir="ltr"><<a href="mailto:nthiebaud@gmail.com" target="_blank">nthiebaud@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Feb 17, 2013 at 3:36 PM, Prashant Pandey<br>
<<a href="mailto:prashant3.yishu@gmail.com">prashant3.yishu@gmail.com</a>> wrote:<br>
> Hi Jean,<br>
><br>
> Thanks for help !<br>
><br>
> Finally, I did : aRealStyle.copy(0,(aRealStyle.Search(aSep) + aSep.Len()));<br>
><br>
> It also worked :)<br>
<br>
</div>No it did not work. it compiled, but it does not do the same as the<br>
orginal code.<br>
<span class="HOEnZb"><font color="#888888"><br>
Norbert<br>
</font></span></blockquote></div><br>