LODE error

Reason: An empty sequence is not allowed as the third argument of substring()