ΒΆStringRef::size_type StrInStrNoCase(
llvm::StringRef s1,
llvm::StringRef s2)
StringRef::size_type StrInStrNoCase(
llvm::StringRef s1,
llvm::StringRef s2)
Description
StrInStrNoCase - Portable version of strcasestr. Locates the first occurrence of string 's1' in string 's2', ignoring case. Returns the offset of s2 in s1 or npos if s2 cannot be found.
Declared at: llvm/include/llvm/ADT/StringExtras.h:248