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

◆ find()

template<size_t SIZE = 64>
int16_t fl::StrN< SIZE >::find ( const char & value) const
inline

Definition at line 344 of file str.h.

344 {
345 for (size_t i = 0; i < mLength; ++i) {
346 if (c_str()[i] == value) {
347 return i;
348 }
349 }
350 return -1;
351 }
size_t mLength
Definition str.h:109
const char * c_str() const
Definition str.h:273

References c_str(), and mLength.

+ Here is the call graph for this function: