Function nstd_sys::string::nstd_string_len
source · #[no_mangle]
pub extern "C" fn nstd_string_len(string: &NSTDString) -> NSTDUIntAvailable on crate feature
nstd_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.
Panics
This operation will panic if the string’s length is greater than NSTDInt’s max value.