| 77 | } |
| 78 | |
| 79 | bool StringView::EndsWith(const StringView& b, StringView::CompareKind comparisonType) const |
| 80 | { |
| 81 | if (this->mLength < b.mLength) |
| 82 | return false; |
| 83 | if (comparisonType == StringView::CompareKind_OrdinalIgnoreCase) |
| 84 | return String::EqualsIgnoreCaseHelper(this->mPtr + this->mLength - b.mLength, b.mPtr, b.mLength); |
| 85 | return String::EqualsHelper(this->mPtr + this->mLength - b.mLength, b.mPtr, b.mLength); |
| 86 | } |
| 87 | |
| 88 | intptr StringView::IndexOf(const StringView& subStr, bool ignoreCase) const |
| 89 | { |
no outgoing calls
no test coverage detected