Re: loop-recur for string handling

2009-09-17 Thread Aridaman Pandit
Hi Thanks for the reply. I understand the code that you have given. Actually I also wanted it to be stored into some variable (if not the same) everytime I run it. Suppose I am matching for keyword "brown" and I want to store everything after "brown". So for that purpose I wanted to chop off ever

loop-recur for string handling

2009-09-17 Thread Aridaman Pandit
Hi everyone I am very new to clojure and have worked previously on C/C++ I wanted to do some string operations, where I can match occurrence of a particular string. However, I get this error everytime. java.lang.ClassCastException: clojure.lang.Var cannot be cast to java.lang.CharSequence (myse