| 769 | } |
| 770 | |
| 771 | StringType substr(size_type pos = 0, size_type n = npos) const |
| 772 | { |
| 773 | adjustRange(length(), pos, n); |
| 774 | return StringType(&c_str()[pos], n); |
| 775 | } |
| 776 | int compare(const StringType& str) const |
| 777 | { |
| 778 | return compare(str.c_str(), str.length()); |