furi_string_search_char

Function furi_string_search_char 

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

Search for the position of the character c from the position start (include) in the string.

§Arguments

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

§Returns

position or FURI_STRING_FAILURE if not found