[Haskell-cafe] Can i split a String by its element ?

z_axis z_axis at 163.com
Tue Feb 22 07:46:13 CET 2011


I want to split "2,15,33,0,8,1,16,18" to ([2,15,33],[8,1,16,18]).  the "0"
will by discarded.

However, it seems that there isnot any standard function to do it.


Sincerely!

-----
e^(π.i) + 1 = 0
-- 
View this message in context: http://haskell.1045720.n5.nabble.com/Can-i-split-a-String-by-its-element-tp3395066p3395066.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list