I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ 8 3552
Class assignment, right? So you wouldn't think of solving this rather simple
problem yourself?
Tom Dacon
Dacon Software Consulting
<do**********@gmail.comwrote in message
news:11*********************@f1g2000cwa.googlegrou ps.com...
>I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote:
Class assignment, right? So you wouldn't think of solving this rather simple
problem yourself?
Tom Dacon
Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.goo glegroups.com...
I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
Yeah ... right.
This exact question comes up every year about this time give or take a few
days.
A holiday season homework assignment.
<do**********@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote:
>Class assignment, right? So you wouldn't think of solving this rather simple problem yourself?
Tom Dacon Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.go oglegroups.com...
>I have a programming question to generate an ordered list of
alphanumeric strings of length 4. From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
I'm going to suggest you create an instance of the
FourPositionAlphanumericStringCollection class and simply call the
Generate() method on it. That's what I'd do.
<do**********@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote:
>Class assignment, right? So you wouldn't think of solving this rather simple problem yourself?
Tom Dacon Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.go oglegroups.com...
>I have a programming question to generate an ordered list of
alphanumeric strings of length 4. From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
Way to go Tom!!!!!!!!!!!!!!!!
"Tom Leylan" <tl*****@nospam.netwrote in message
news:eC**************@TK2MSFTNGP04.phx.gbl...
I'm going to suggest you create an instance of the
FourPositionAlphanumericStringCollection class and simply call the
Generate() method on it. That's what I'd do.
<do**********@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
>nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote:
>>Class assignment, right? So you wouldn't think of solving this rather simple problem yourself?
Tom Dacon Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.g ooglegroups.com...
I have a programming question to generate an ordered list of alphanumeric strings of length 4. From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then AAAA - ZZZZ
Wow, you have a much more robust version of the .Net
framework than I do. That class must be in .Net 2.5. ;-)
Robin S.
-------------------
"Tom Leylan" <tl*****@nospam.netwrote in message
news:eC**************@TK2MSFTNGP04.phx.gbl...
I'm going to suggest you create an instance of the
FourPositionAlphanumericStringCollection class and simply call the
Generate() method on it. That's what I'd do.
<do**********@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
>nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote:
>>Class assignment, right? So you wouldn't think of solving this rather simple problem yourself?
Tom Dacon Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.g ooglegroups.com...
I have a programming question to generate an ordered list of alphanumeric strings of length 4. From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then AAAA - ZZZZ
Thanks for all your help people, I was able to figure it out. The
problem was I was trying to do it with the help of the
FagsAndDykesCollection class but once I stopped doing that, it was a
breeze. ;)
RobinS wrote:
Wow, you have a much more robust version of the .Net
framework than I do. That class must be in .Net 2.5. ;-)
Robin S.
-------------------
"Tom Leylan" <tl*****@nospam.netwrote in message
news:eC**************@TK2MSFTNGP04.phx.gbl...
I'm going to suggest you create an instance of the
FourPositionAlphanumericStringCollection class and simply call the
Generate() method on it. That's what I'd do.
<do**********@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
nope not hw, its for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.comwrote: Class assignment, right? So you wouldn't think of solving this rather simple problem yourself?
Tom Dacon Dacon Software Consulting
<dohyohdoh...@gmail.comwrote in messagenews:11*********************@f1g2000cwa.go oglegroups.com...
I have a programming question to generate an ordered list of
alphanumeric strings of length 4. From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9
then
AAAA - ZZZZ
tsk tsk...weak rejoinder
TD This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xah Lee |
last post by:
20050226 exercise: generate all possible pairings
given a list that is a set partitioned into subsets, generate a list
of all possible pairings of elements in any two subset.
Example:
...
|
by: Crirus |
last post by:
Is there a function that return some random ID like string alphanumeric?
Like this:
A35sDsd1dSGsH
Thanks
Crirus
|
by: Christoph Zwerschke |
last post by:
This is probably a FAQ, but I dare to ask it nevertheless since I
haven't found a satisfying answer yet: Why isn't there an "ordered
dictionary" class at least in the standard list? Time and again...
|
by: Girish Sahani |
last post by:
I have a list of strings all of length k. For every pair of k length
strings which have k-1 characters in common, i want to generate a k+1
length string(the k-1 common characters + 2 not common...
|
by: dohyohdohyoh |
last post by:
I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9...
| |
by: Robert Mago |
last post by:
Is there a way to create a 10 characthers or less, alph-numeric string which
is unique. I can't use the guid since its longer then 10 characthers. Also i
cannot use a random number, since being...
|
by: Marc |
last post by:
Hi all,
I have to generate and send to a printer many 6 digit
alphanumeric strings. they have to be unique but I cannot check in a
database or something like that if it have already been printed....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |