Added suffix and prefix arguments in gen_string() generator