DF number generator: replace trim with substring within NumberGeneratorModelHelper