
Hi,
I tend to use the module TextUtil (or Util.Text) from Yhc for these
kind of string manipulations:
http://www-users.cs.york.ac.uk/~malcolm/cgi-bin/darcsweb.cgi?r=yhc;a=headblo...
separate = splitList ","
I am currently thinking about making this module into a standalone
library with some other useful functions, if people have any opinions
on this then please let me know.
Thanks
Neil
On 6/12/06, Sara Kenedy
Hi all,
I want to write a function to separate a string into a list of strings separated by commas.
Example: separate :: String -> [String]
separate "Haskell, Haskell, and Haskell" = ["Haskell", "Haskell", "and Haskell"]
If anyone has some ideas, please share with me. Thanks.
S. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe