i have a very simple query?

anybody can tell me, how can i find the length of the number, which was enter by user.

like:- 1234

length should be 4

thanks

anybody can tell me, how can i find the length of the number, which was enter by user.

like:- 1234

length should be 4

thanks