blob: 662a4e4894719c444730f2fae5543afa038c62c1 [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/debug/shared/string_util.h"
#include "lib/stdcompat/string_view.h"
namespace debug {
bool StringStartsWith(std::string_view str, std::string_view begins_with) {
return cpp20::starts_with(str, begins_with);
}
bool StringEndsWith(std::string_view str, std::string_view ends_with) {
return cpp20::ends_with(str, ends_with);
}
} // namespace debug