| 68 | } |
| 69 | |
| 70 | bool StringView::StartsWith(const StringView& b, StringView::CompareKind comparisonType) const |
| 71 | { |
| 72 | if (this->mLength < b.mLength) |
| 73 | return false; |
| 74 | if (comparisonType == StringView::CompareKind_OrdinalIgnoreCase) |
| 75 | return String::EqualsIgnoreCaseHelper(mPtr, b.mPtr, b.mLength); |
| 76 | return String::EqualsHelper(mPtr, b.mPtr, b.mLength); |
| 77 | } |
| 78 | |
| 79 | bool StringView::EndsWith(const StringView& b, StringView::CompareKind comparisonType) const |
| 80 | { |
no outgoing calls
no test coverage detected