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

◆ find_first_not_of() [1/4]

fl::size fl::basic_string::find_first_not_of ( char c,
fl::size pos = 0 ) const

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

689 {
690 if (pos >= mLength) return npos;
691 const char* str = c_str();
692 for (fl::size i = pos; i < mLength; ++i) {
693 if (str[i] != c) return i;
694 }
695 return npos;
696}
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.

Referenced by find_first_not_of(), and find_first_not_of().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: