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

◆ find() [1/4]

fl::size fl::string_view::find ( char ch,
fl::size pos = 0 ) const
inline

Definition at line 188 of file string_view.h.

188 {
189 if (pos >= mSize) return npos;
190 for (fl::size i = pos; i < mSize; ++i) {
191 if (mData[i] == ch) {
192 return i;
193 }
194 }
195 return npos;
196 }
uint8_t pos
Definition Blur.ino:11
const char * mData
static constexpr fl::size npos
Definition string_view.h:35

References FL_NOEXCEPT, mData, mSize, npos, and pos.

Referenced by contains(), contains(), contains(), find(), find(), find_first_of(), fl::url::parse(), and fl::parse_lnk_with_metadata().

+ Here is the caller graph for this function: