Fixed #5805: add a utility function of string
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-html5 into Iss5805_Async
Merge pull request #2097 from dingpinglv/Iss5805_Async

Fixed #5805: add a utility of string