flipperzero_sysFunction furi_string_replace_str
Source pub unsafe extern "C" fn furi_string_replace_str(
string: *mut FuriString,
needle: *const c_char,
replace: *const c_char,
start: usize,
) -> usize
Expand description
Replace a C string ‘needle’ to C string ‘replace’ in a string from ‘start’
position.
§Arguments
string - The string
needle - The needle
replace - The replace
start - The start (By default, start is zero)
§Returns
Return FURI_STRING_FAILURE if ‘needle’ not found or replace position.