How can show my id field in 8 charater length string
<p>In my listing page I have to show the record ID in eight character length string. This needs to be combination of letters and digits. The first 4 characters need to be letters and last 4 need to be digits. For viewing purpose alone I need to show the record ID in this formatted manner.</p>

<p>If a record ID has less than 4 digits,  then add prefix <code>0</code>'s in front of them.</p>

<p>For example:</p>

<p>record #2 needs to show like <code>AAAA0002</code>.<br>
record #10001 needs to be like <code>AAAB0001</code>.</p>

<p>The first part of 4 letters starts with <code>A</code>,
if the record ID has more than 4 digits, the respected characters need to be incremented in the same manner.</p>

<p>Can any one suggest me your valuable advice in this ?</p>
