Logo Search packages:      
Sourcecode: icu version File versions  Download package

UBool UnicodeString::startsWith ( const UChar *  srcChars,
int32_t  srcStart,
int32_t  srcLength 
) const [inline]

Determine if this ends with the characters in srcChars in the range [srcStart, srcStart + srcLength).

Parameters:
srcChars The characters to match.
srcStart the offset into srcText to start matching
srcLength the number of characters in srcChars to match
Returns:
TRUE if this ends with the characters in srcChars, FALSE otherwise ICU 2.0

Definition at line 3939 of file unistr.h.

{ return doCompare(0, srcLength, srcChars, srcStart, srcLength) == 0;}


Generated by  Doxygen 1.6.0   Back to index