refactor(util) rmNewLine: substr -> removeStr