pub unsafe extern "C" fn furi_string_replace(
    string: *mut FuriString,
    needle: *mut FuriString,
    replace: *mut FuriString,
    start: usize
) -> usize
Expand description

Replace a string ‘needle’ to string ‘replace’ in a string from ‘start’ position. By default, start is zero. Return STRING_FAILURE if ‘needle’ not found or replace position.

Returns:

  • size_t

Arguments

  • string -
  • needle -
  • replace -
  • start -