blob: de2b44b5ccc6ba733bfaa20725f6e218a6b055e2 [file] [log] [blame] [edit]
// 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 <string>
namespace impeller {
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_