On Tue, Jul 19, 2011 at 12:48 AM, Tuba Lambanog <[email protected]>wrote:

> Hi,
> I'm clear on what I want ;) (something new to me), but I'm not clear on how
> to get there. I'd like to compare str1 and str2, if at least one of the
> letters in str1 is in str2. I'm thinking that if I can convert str1 and str2
> to sets, then I can use the set intersection operation. It probably doesn't
> matter here if the sets contain characters or symbols?
> Tuba
>

Or you could do this:

(some (set str1) (set str2))

David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to