Forums / Developer / a while

a while

Author Message

jb bianchi

Friday 19 August 2005 8:09:56 am

hi,

I want to read a string but char by char in order to count the char but I want to set condition:
if I read a char like ">" , I stop the reading and I return the counter.

I think I have to use a while but I miss something. In fact I don(t know how I can read char by char of a string.

thank's