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