The size or length command finds the length of a string (as well as the length of lists in general, see Section 6.1.3).