Could someone tell me how to extract the right most single digit from a number without knowing the length of the number?

123 I need the 3

386485 I need the 5

etc...

Seems it should be simple, but been searching for over an hour and can't find the resolution...

Thanks in advance

Douglas

Thank You... now I see what I was doing wrong...
I was trying the substring but forgot the ,1 DUH...

Thanks
Douglas

You're welcome, bye!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.