196279301Sopenharmony_ci/*
296279301Sopenharmony_ci * Copyright (c) 2024-2024 Huawei Device Co., Ltd.
396279301Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
496279301Sopenharmony_ci * you may not use this file except in compliance with the License.
596279301Sopenharmony_ci * You may obtain a copy of the License at
696279301Sopenharmony_ci *
796279301Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
896279301Sopenharmony_ci *
996279301Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1096279301Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1196279301Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1296279301Sopenharmony_ci * See the License for the specific language governing permissions and
1396279301Sopenharmony_ci * limitations under the License.
1496279301Sopenharmony_ci */
1596279301Sopenharmony_ci
1696279301Sopenharmony_ci#ifndef BASE_NOTIFICATION_DISTRIBUTED_NOTIFICATION_SERVICE_SERVICES_ANS_INCLUDE_STRING_UTILS_H
1796279301Sopenharmony_ci#define BASE_NOTIFICATION_DISTRIBUTED_NOTIFICATION_SERVICE_SERVICES_ANS_INCLUDE_STRING_UTILS_H
1896279301Sopenharmony_ci#include <string>
1996279301Sopenharmony_ci#include <vector>
2096279301Sopenharmony_ci
2196279301Sopenharmony_cinamespace OHOS {
2296279301Sopenharmony_cinamespace Notification {
2396279301Sopenharmony_ciclass StringUtils {
2496279301Sopenharmony_cipublic:
2596279301Sopenharmony_ci
2696279301Sopenharmony_ci    StringUtils() {};
2796279301Sopenharmony_ci    virtual ~StringUtils() {};
2896279301Sopenharmony_ci
2996279301Sopenharmony_ci    static void Split(const std::string &str, const std::string &splitFlag, std::vector<std::string> &res);
3096279301Sopenharmony_ci};
3196279301Sopenharmony_ci}  // namespace Notification
3296279301Sopenharmony_ci}  // namespace OHOS
3396279301Sopenharmony_ci
3496279301Sopenharmony_ci#endif // BASE_NOTIFICATION_DISTRIBUTED_NOTIFICATION_SERVICE_SERVICES_ANS_INCLUDE_STRING_UTILS_H