AST/StreamIn.pm: Move stringsToSub to a substr() method