Len(str)

  • Thread starter Thread starter Daniel
  • Start date Start date
D

Daniel

When I use this function and I have, for example, cnt = 1,
the len for some reason is equal to 2. Why is that? Am I
doing something wrong?

Thanks

Daniel
 
I am making Unique ID's with numbers and characters. I
need to know the length of the number to know if and how
many 0's to put before the 1,2 etc, so that it will be
ordered in the correct manner. Otherwise when I hit 10, it
is indexed back to the beginning.

Dan
 
Back
Top