You may want to consider using `String#substring` or `String#slice` instead of the non-standard `String#substr`.