refactor(util) rmStr, rmStrOnce