01-08-2008, 12:51 AM
Because findrx returns 0-based character index, or -1 if not found,
if findrx(...) means 'if found not at the beginning or not found at all'
if findrx(...)>=0 means 'if found'
if findrx(...) means 'if found not at the beginning or not found at all'
if findrx(...)>=0 means 'if found'