Library to generate strings by pattern