First of all, there are several syntax errors in your question.:mad:
...
for(int i = 0; i<icount;
>{
...
pResponse->
;pBl...
to answer your question, if you have an array
text[8]
with the length 8 and the content "0659_01", you can iterate through it with the usage of following code:
for(int index = 0; index < 7; index++)
{
do_something_with(text[index]);
}
this way the function do_something_with(char c)
will be called with {'0','6','5','9','_','0','1'}.
to get the length of a ASCII array call strlen[
^]