// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_IMPELLER_BASE_STRINGS_H_ #define FLUTTER_IMPELLER_BASE_STRINGS_H_ #include #include "impeller/base/config.h" namespace impeller { IMPELLER_PRINTF_FORMAT(1, 2) std::string SPrintF(const char* format, ...); bool HasPrefix(const std::string& string, const std::string& prefix); bool HasSuffix(const std::string& string, const std::string& suffix); std::string StripPrefix(const std::string& string, const std::string& to_strip); } // namespace impeller #endif // FLUTTER_IMPELLER_BASE_STRINGS_H_