Function TRAP::Utils::String::Contains(std::string_view, const char *)#
Function Documentation#
-
constexpr bool TRAP::Utils::String::Contains(std::string_view str, const char *substr)#
Checks if the string contains the given substring.
- Deprecated:
This function is deprecated when compiling with C++23 standard.
- Parameters:
str – String to check.
substr – Substring to check if inside string.
- Returns:
True if the string contains the provided substring, false otherwise.