See https://github.com/metabrainz/picard/pull/2039
PICARD-2403 Make 'end' argument optional for $substr() function