fix(util) strCmp: indexOf && length