Friday, March 16, 2012

looping thru alphabet

Is there a decent way to loop thru the alphabet in vb.net?

I need to do somehting for a-z

thanks
mike123Hi Mike123

I guess you could loop throught the ASCII Chars. Something like:


dim iLoop as Integer
for iLoop = 97 to 123
dim myChar as char = convert.toChar(iLoop)
next

Just an idea ...

0 comments:

Post a Comment