flipperzero_sys

Function furi_string_search

Source
pub unsafe extern "C" fn furi_string_search(
    string: *const FuriString,
    needle: *const FuriString,
    start: usize,
) -> usize
Expand description

Search the first occurrence of the needle in the string from the position start.

§Arguments

  • string - The FuriString instance
  • needle - The needle
  • start - The start (By default, start is zero)

§Returns

position or FURI_STRING_FAILURE if not found