Function in stdx_string.h

x_wcstr_cicmp

Case-insensitively compares two wide C-strings.

X_STRING_API int32_t x_wcstr_cicmp(
 const wchar_t *a,
 const wchar_t *b
);

Parameters

const wchar_t *a
First input view or string.
const wchar_t *b
Second input view or string.

Returns

Function-specific integer result.

Function in stdx_string.h

x_wcstr_ends_with

Checks whether a null-terminated wide C-string ends with the given suffix.

X_STRING_API bool x_wcstr_ends_with(
 const wchar_t *str,
 const wchar_t *suffix
);

Parameters

const wchar_t *str
Input C-string.
const wchar_t *suffix
Suffix to match.

Returns

true if the condition holds; false otherwise.

Function in stdx_string.h

x_wcstr_ends_with_ci

Checks whether a null-terminated wide C-string ends with the given suffix.

X_STRING_API bool x_wcstr_ends_with_ci(
 const wchar_t *str,
 const wchar_t *suffix
);

Parameters

const wchar_t *str
Input C-string.
const wchar_t *suffix
Suffix to match.

Returns

true if the condition holds; false otherwise.

Function in stdx_string.h

x_wcstr_starts_with

Checks whether the string starts with the specified prefix.

X_STRING_API bool x_wcstr_starts_with(
 const wchar_t *str,
 const wchar_t *prefix
);

Parameters

const wchar_t *str
Input C-string.
const wchar_t *prefix
Prefix to match.

Returns

true if the condition holds; false otherwise.

Function in stdx_string.h

x_wcstr_starts_with_ci

Case-insensitive check whether the string starts with the specified prefix.

X_STRING_API bool x_wcstr_starts_with_ci(
 const wchar_t *str,
 const wchar_t *prefix
);

Parameters

const wchar_t *str
Input C-string.
const wchar_t *prefix
Prefix to match.

Returns

true if the condition holds; false otherwise.