RAD Studio
ContentsIndex
PreviousUpNext
_ismbblead, _ismbbtrail

Header File 

mbstring.h 

Category 

Classification Routines 

Prototype 

int _ismbblead(unsigned int c); 

int _ismbbtrail(unsigned int c); 

Description 

_ismbblead and _ismbbtrail are used to test whether the argument c is the first or the second byte of a multibyte character. 

_ismbblead and _ismbbtrail are affected by the code page in use. You can set the code page by using the _setlocale function. 

Return Value 

If c is in the lead byte of a multibyte character, _ismbblead returns true. 

If c is in the trail byte of a multibyte character, _ismbbtrail returns a nonzero value.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!