Hi All,
I need know how the below line works,See this thread http://forums.adobe.com/message/4364545#4364545
q = 0 <= p && (-1 + p + mySearch.length);
Green4ever
It's confusingly written.
But you should be able to reason it out yourself!
What's your question?
Is it more clear if it is written like this?
q = (p >= 0) && (p + mySearch.length -1);
or perhaps
if (p < 0) { q = false; } else { q = p + mySearch.length -1; }