FastLED 3.10.10
Loading...
Searching...
No Matches

◆ find_first_not_of() [3/4]

fl::size fl::basic_string::find_first_not_of ( const char * s,
fl::size pos,
fl::size count ) const

Definition at line 698 of file basic_string.cpp.hpp.

698 {
699 if (!s || count == 0) return (pos < mLength) ? pos : npos;
700 if (pos >= mLength) return npos;
701 const char* str = c_str();
702 for (fl::size i = pos; i < mLength; ++i) {
703 bool found_in_set = false;
704 for (fl::size j = 0; j < count; ++j) {
705 if (str[i] == s[j]) { found_in_set = true; break; }
706 }
707 if (!found_in_set) return i;
708 }
709 return npos;
710}
uint8_t pos
Definition Blur.ino:11
static constexpr fl::size npos
const char * c_str() const FL_NO_EXCEPT

References c_str(), fl::FL_NO_EXCEPT, mLength, npos, and pos.

+ Here is the call graph for this function: