Re: explode a string to a list

2009-08-22 Thread clint.laskowski
Thank you all for your replies and your help. I never expected Rich Hickey would respond :-) -- Clint On Aug 22, 9:07 am, Rich Hickey wrote: > On Sat, Aug 22, 2009 at 8:20 AM, Sean Devlin wrote: > > > Welcome to Clojure! > > > A String is a form of a Sequence, so the correct function is seq. >

explode a string to a list

2009-08-22 Thread clint.laskowski
Sorry if this is a FAQ. I'm a Clojure newbie. What is the best way to iterate through the characters of a string? Is there some kind of EXPLODE function such that: => (explode "test") (\t \e \s \t) I did a Google search but the closest thing I found was SUBS: =>(subs "test" 1 2) "t" --~--~---