Split string in two parts by length
<p>How to split a string in two parts : one part with first three characters &amp; another part with leftover characters ? </p>

<p>(I finally need to convert both splitted substrings to Bytebuffers).</p>
