Testing the length of a string

Hello, Unix-Forums!

Is there a command that can check how long a user-entered string is?

Please don't give me a code, just the name of the command (playing around yourself is much more fun than just pasting code)

edit: I'm sorry, first hit of the forum search gave me the answer.

OK, in this case it can be done through variable expansion.