这里只记录常用的,其它的请参考:https://docs.unrealengine.com/zh-CN/Programming/UnrealArchitecture/StringHandling/index.html
1. float转Fstring
UKismetSystemLibrary::PrintString(this, "Value: " + FString::SanitizeFloat(1.23));
2.bool转FString
UKismetStringLibrary::Conv_BoolToString(true);
3.Name转FString
TestHUDString = TestHUDName.ToString();
4.FString转Name
TestHUDName = FName(*TestHUDString);