Len(str)

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
 
D

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top