The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback

PUBLIC XP_Bool INTL_StrEndWith ( int16 charSetID, unsigned char* str1, unsigned char* str2 )

Test if string s1 end with string s2

Documentation

Test if string s1 end with string s2. This function is multibyte charset safe. It will consider characters boundary correctly. To do string matching with ignoring the case of character, call INTL_GetNormalizeStr (or INTL_GetNormalizeStrFromRFC1522) before calling this function.
Returns:
true if the first string is end with the second string, false otherwise.
Parameters:
charSetID - Specifies the encoding for s1 and s2.
s1 - Specifies the first string
s2 - Specifies the second string
See Also:
INTL_GetNormalizeStr
INTL_GetNormalizeStrFromRFC1522
INTL_StrContains
INTL_StrIs
INTL_StrBeginWith

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


Copyright © 1998-1999 The Mozilla Organization.