| 275 | } |
| 276 | |
| 277 | AbstractString::size_type AbstractString::find_first_not_of(const_pointer s, size_type pos, size_type n) const |
| 278 | { |
| 279 | const strBitMask sm(s, n); |
| 280 | const_pointer p = &c_str()[pos]; |
| 281 | while (pos < length()) |
| 282 | { |
| 283 | if (! sm.Contains(*p++)) { |
| 284 | return pos; |
| 285 | } |
| 286 | ++pos; |
| 287 | } |
| 288 | return npos; |
| 289 | } |
| 290 | |
| 291 | AbstractString::size_type AbstractString::find_last_not_of(const_pointer s, const size_type pos, size_type n) const |
| 292 | { |