The MPrevChar method

This method returns a pointer to the first byte of the multibyte character before the multibyte character c, where s is a pointer to the beginning of the multibyte string that contains c.

char *MPrevChar(const char *s, const char *c) const

If there is an error, this method returns NULL. Call ITLocale::GetError() to retrieve a specific error message.