uni2mono

Converts a Unicode string from mixed case to case-neutral.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  unicode_t *uni2mono (
     unicode_t         *dest,
     const unicode_t   *src, 
     UniCase_t          casing);
  

Parameters

dest

(OUT) Points to the converted string.

src

(IN) Points to the source string to use in the conversion.

casing

(IN) Specifies the type of case to use.

Flag

Value

Description

UNI_CASE_DEFAULT

(-3)

Use default monocase.

UNI_CASE_UPPER

0

Make uppercase.

UNI_CASE_LOWER

1

Make lowercase.

UNI_CASE_TITLE

2

Make the first letter of each word uppercase.

If you are using the Watcom compiler, check the unilib.h file for the values.

Return Values

Returns the converted string.

See Also