| 637 | } |
| 638 | |
| 639 | bool EndsWith(const TStringT& suffix, bool IgnoreCase = false) const |
| 640 | { |
| 641 | if (GetLength() >= suffix.GetLength()) |
| 642 | { |
| 643 | TStringT _src = Right(suffix.GetLength()); |
| 644 | if (IgnoreCase) |
| 645 | return 0 == _src.CompareNoCase(suffix); |
| 646 | else |
| 647 | return 0 == _src.Compare(suffix); |
| 648 | } |
| 649 | return false; |
| 650 | } |
| 651 | |
| 652 | // insert character at zero-based index; concatenates if index is past end of string |
| 653 | int Insert(int nIndex, tchar ch) |
nothing calls this directly
no test coverage detected