MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / EndsWith

Method EndsWith

src/base/AFStringUtils.hpp:838–841  ·  view source on GitHub ↗

@brief Returns whether the std::string ends with the pattern passed in. @param[in] pattern The pattern to compare with. @param[in] case_sensitive true case sensitive, false ignore the case

Source from the content-addressed store, hash-verified

836 // @param[in] pattern The pattern to compare with.
837 // @param[in] case_sensitive true case sensitive, false ignore the case
838 static bool EndsWith(const std::string& str, const std::string& pattern, bool case_sensitive = true)
839 {
840 return stringUtil_EndsWith(str, pattern, case_sensitive);
841 }
842
843 static bool EndsWith(const std::wstring& str, const std::wstring& pattern, bool case_sensitive = true)
844 {

Callers

nothing calls this directly

Calls 1

stringUtil_EndsWithFunction · 0.85

Tested by

no test coverage detected