def get_string_compare(self, value): import fn return TypedCondition(left=fn.substr(self, 2), op=" LIKE ", right=value)
def __getitem__(self, item): import fn start, length = get_string_slice(item) return fn.substr(self, start, length)