#[no_mangle]
pub extern "C" fn nstd_string_len(string: &NSTDString<'_>) -> NSTDUInt
Available on crate feature string only.
Expand description

Returns the number of Unicode characters in a string.

Parameters:

  • const NSTDString *string - The string.

Returns

NSTDUInt len - The length of the string.