vb.net - Generate "aa", "Aa", "aA", "AA", etc In order -


how generate combinations of 2 lowercase/upercase letters/numbers in order?

sub main()      dim looper boolean = true      while looper = true         'string = "aa", "aa", "aa", "aa"         'webclient.downloadstring("link.com/" & string")     end while  end sub 

like this, generate combination string

you loop on string , manipulate upper , lower case required:

sub main()     dim results list(of string) = new list(of string)()      each c char in "abcdefghijklmnopqrstuvwxyz".tochararray()         results.add(c.tostring().tolower() & c.tostring().tolower())         results.add(c.tostring() & c.tostring().tolower())         results.add(c.tostring().tolower() & c.tostring())         results.add(c.tostring() & c.tostring())     next end sub 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -