Format fortune string.