| 563 | } |
| 564 | |
| 565 | BString BString::substr(int beginIndex) const { |
| 566 | return substr(beginIndex, length() - beginIndex); |
| 567 | } |
| 568 | |
| 569 | BString BString::substr(int beginIndex, int len) const { |
| 570 | // :TODO in the future maybe don't make a copy, just a ref and use offsets into the data |