Skip to content

len

relationalai.semantics.std.strings
len(s: StringValue) -> Expression

Get the length of the string s.

  • Expression - An Expression representing the length of the string. Returns Integer.

Get the length of a string:

>>> select(Person.name, strings.len(Person.name))