sanitize MVCS::StringUtils::endsWith