get_FORMAT function

Get FORMAT from format