The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

PUBLIC int INTL_PrevCharIdx ( int16 charSetID, unsigned char *str, int pos )

Returns the byte index of the previous character

Documentation

Returns the byte index of the previous character. Given the position of any byte of any character in some text, this function returns the position of the 1st byte of the previous character. The difference between this function and INTL_PrevCharIdxInText is that this function will accept the position of any byte of a character rather than just the 1st byte of a character.
Returns:
The index of the previous character
Parameters:
charSetID - Specifies the charset ID of the text
str - Specifies the beginning of the text
pos - Specifies any byte of any character
See Also:
INTL_PrevCharIdxInText, INTL_NextCharIdx

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

Copyright © 1998-2000 The Mozilla Organization.
Last modified April 17, 1998.