ibis.expr.api.StringValue.substr

StringValue.substr(start, length=None)

Pull substrings out of each string value by position and maximum length.

Parameters
startint

First character to start splitting, indices starting at 0 (like Python)

lengthint, optional

Maximum length of each substring. If not supplied, splits each string to the end

Returns
substringstype of caller