substr has no referenced return, so assign by reference is useless.