FoldLines function in String