FastLED 3.10.6
Loading...
Searching...
No Matches

◆ find() [4/6]

fl::size fl::basic_string::find ( const char & value,
fl::size start_pos ) const

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

557 {
558 if (start_pos >= mLength) return npos;
559 for (fl::size i = start_pos; i < mLength; ++i) {
560 if (c_str()[i] == value) return i;
561 }
562 return npos;
563}
static constexpr fl::size npos
const char * c_str() const FL_NO_EXCEPT
constexpr int type_rank< T >::value

References c_str(), mLength, npos, and fl::type_rank< T >::value.

+ Here is the call graph for this function: