Skip to content

StringLength

StringLength[s] returns the length of s.

Attributes[StringLength] := {Listable, Protected}

Simple examples

In[1]:= StringLength["Hello"]
Out[1]= 5