| 700 | } |
| 701 | |
| 702 | FString FString::MakeUpper() const |
| 703 | { |
| 704 | TArray<uint8_t> builder(Len()); |
| 705 | int pos = 0; |
| 706 | while (int c = GetNextCharacter(pos)) |
| 707 | { |
| 708 | if (c < 65536) c = upperforlower[c]; |
| 709 | auto cp = MakeUTF8(c); |
| 710 | while (auto uc = *cp++) builder.Push(uc); |
| 711 | } |
| 712 | return FString(builder); |
| 713 | } |
| 714 | |
| 715 | void FString::StripLeft () |
| 716 | { |
no test coverage detected