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 XP_Bool INTL_StrContains ( int16 charSetID, unsigned char* str1, unsigned char* str2 )

Test if string s1 contains string s2

Documentation

Test if string s1 contains 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 call this function.
Returns:
true if s1 contains s2, 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_StrIs
INTL_StrBeginWith
INTL_StrEndWith

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

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