StringLength gives the length of a string.
StringLength
StringLength["abc"]
StringLength is listable:
StringLength[{"a", "bc"}]
StringLength[x]