| 243 | } |
| 244 | |
| 245 | AbstractString::size_type AbstractString::find_first_of(const_pointer s, size_type pos, size_type n) const |
| 246 | { |
| 247 | const strBitMask sm(s, n); |
| 248 | const_pointer p = &c_str()[pos]; |
| 249 | while (pos < length()) |
| 250 | { |
| 251 | if (sm.Contains(*p++)) { |
| 252 | return pos; |
| 253 | } |
| 254 | ++pos; |
| 255 | } |
| 256 | return npos; |
| 257 | } |
| 258 | |
| 259 | AbstractString::size_type AbstractString::find_last_of(const_pointer s, const size_type pos, size_type n) const |
| 260 | { |