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 343 of file str.h.

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

References c_str(), and mLength.

+ Here is the call graph for this function: