Parse strings using a specification based on format()
