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
Post a Comment