Folded fans and string functions