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

UnicodeSet & UnicodeSet::removeAll ( const UnicodeString s  ) 

Remove EACH of the characters in this string. Note: "ch" == {"c", "h"} If this set already any particular character, it has no effect on that character. A frozen set will not be modified.

Parameters:
s the source string
Returns:
this object, for chaining ICU 2.4
Remove EACH of the characters in this string. Note: "ch" == {"c", "h"} If this set already any particular character, it has no effect on that character.
Parameters:
the source string
Returns:
the modified set, for chaining

Definition at line 1101 of file uniset.cpp.

References addAll().

Referenced by applyPattern(), and UnicodeSetTest::TestCloseOver().

                                                        {
    UnicodeSet set;
    set.addAll(s);
    removeAll(set);
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index