Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2012 Creating list based on format?

$
0
0
User gives format x#, suggested output:
Code:

a0
b0
c0
...
a1
b1
c1
...

That is an easy task with nested for-loops. But what about dynamic-length formats? I want the user to be able to input a format and I can make a full list based on their input. (inputting either x for [a-z], X for [A-Z], # for [0-9]).

I know how to do this with a fixed-length 'format' but I'm rather lost when it comes to dynamic-length 'format's.

Thanks.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>