fixed #1643 fixed bug for indexOf to lastIndexOf
Merge pull request #764 from dingpinglv/Iss1643_CCFileUtils

fixed #1643 fixed bug for indexOf to lastIndexOf