Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::string(_view)::starts_with, std::string(_view)::ends_withCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | std::string(_view)::starts_with, std::string(_view)::ends_withDaily bit(e) of C++ #371, The C++20 prefix and suffix checking methods for std::string and std::string_view: starts_with and ends_with.Šimon TóthJan 07, 20241Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::string(_view)::starts_with, std::string(_view)::ends_withCopy linkFacebookEmailNotesMoreShareC++20 added prefix and suffix checking methods: starts_with and ends_with to both std::string and std::string_view.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe