FastLED 3.9.15
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 649 of file basic_string.cpp.hpp.

649 {
650 if (!s || count == 0) return (pos < mLength) ? pos : npos;
651 if (pos >= mLength) return npos;
652 const char* str = c_str();
653 for (fl::size i = pos; i < mLength; ++i) {
654 bool found_in_set = false;
655 for (fl::size j = 0; j < count; ++j) {
656 if (str[i] == s[j]) { found_in_set = true; break; }
657 }
658 if (!found_in_set) return i;
659 }
660 return npos;
661}
uint8_t pos
Definition Blur.ino:11
static constexpr fl::size npos
const char * c_str() const FL_NOEXCEPT

References c_str(), mLength, npos, and pos.

+ Here is the call graph for this function: