generating alphabetical sequence

  • Thread starter Thread starter sony.m.2007
  • Start date Start date
S

sony.m.2007

Hi,
Is there any functions available to generate alphabetical sequence
like
below
a
b
c
d
..
..
z
aa
ab
ac
..
..

Thanks,
Sony
 
There aren't any built-in functions but you follow the logic that 'a'
(case-sensitive, with single quotes this is a character in C#) is your
initial value and adding values < 26 will return the subsequent alphabetical
characters. Then you can use this to generate two-letter sequences, and so
on.

What is supposed to be the last possible value? Is there one?
 
There aren't any built-in functions but you follow the logic that 'a'
(case-sensitive, with single quotes this is a character in C#) is your
initial value and adding values < 26 will return the subsequent alphabetical
characters. Then you can use this to generate two-letter sequences, and so
on.

What is supposed to be the last possible value? Is there one?
 
Is there any functions available to generate alphabetical sequence
like
below
a
b
c
d
.
.
z
aa
ab
ac
.
.

Thanks,
Sony

Is that sequence alphabetical?

"ab" comes before "b" doesn't it?

Note also that some languages can have "strange" rules. For example in
Danish, it is normal that the sequence "aa" does indeed come after "z".
 
Is there any functions available to generate alphabetical sequence
like
below
a
b
c
d
.
.
z
aa
ab
ac
.
.

Thanks,
Sony

Is that sequence alphabetical?

"ab" comes before "b" doesn't it?

Note also that some languages can have "strange" rules. For example in
Danish, it is normal that the sequence "aa" does indeed come after "z".
 
Look up the ASCII codes and you have the numerical values to use as a
reference to generate whatever character you want.
 
Look up the ASCII codes and you have the numerical values to use as a
reference to generate whatever character you want.
 
Back
Top