Function flipperzero_sys::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
) -> usizeExpand description
Replace a C string ‘needle’ to C 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-