
1 Dec
2005
1 Dec
'05
2:30 p.m.
raptor
split _ [] = [] split char (x:xs) | x /= char = x : split char xs | otherwise = []
*Main> split 'x' str "testing"
I want : ["testing","split",...]
How do i do this.
Collect the read chars in a temp, when the separator is detected, return the temp (probably reversing it) and recurse. -k -- If I haven't seen further, it is by standing in the footprints of giants