| Flutter Impeller |

strings.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_IMPELLER_BASE_STRINGS_H_
6 #define FLUTTER_IMPELLER_BASE_STRINGS_H_
7
8 #include <string>
9
10 namespace impeller {
11
12 bool HasPrefix(const std::string& string, const std::string& prefix);
13
14 bool HasSuffix(const std::string& string, const std::string& suffix);
15
16 std::string StripPrefix(const std::string& string, const std::string& to_strip);
17
18 } // namespace impeller
19
20 #endif // FLUTTER_IMPELLER_BASE_STRINGS_H_
impeller
Definition: allocation.cc:12
impeller::HasPrefix
bool HasPrefix(const std::string &string, const std::string &prefix)
Definition: strings.cc:9
impeller::HasSuffix
bool HasSuffix(const std::string &string, const std::string &suffix)
Definition: strings.cc:13
impeller::StripPrefix
std::string StripPrefix(const std::string &string, const std::string &to_strip)
Definition: strings.cc:21