String.length(s) → byte_size(s), one way (Mutare string_byte): shows whether non-ASCII input is tested.
String.length(s)
byte_size(s)
string_byte