The size command can find the length of a string (as well as the length of lists in general, see Section 5.39.3). length is a synonym for size.
Input:
Output: