How to evaluate the valueof Javascript substring.
I have a string like that. I wanted the filter out value the value of my title.
myStr = "<span title='Country' ></span>"
What I am trying here is
myStr.search(/title/i);
here I am geting index of title. IS there any substring method where I can get the value of title.