FastLED 3.9.15
Loading...
Searching...
No Matches

◆ find() [4/6]

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

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

533 {
534 if (start_pos >= mLength) return npos;
535 for (fl::size i = start_pos; i < mLength; ++i) {
536 if (c_str()[i] == value) return i;
537 }
538 return npos;
539}
static constexpr fl::size npos
const char * c_str() const FL_NOEXCEPT
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: