Convert std::string to FString

To add more to the discussion:

I had no trouble just doing this:



#include <string>

//....

some function
{
  std::string TestString = "Happy"; 
  FString HappyString(TestString.c_str());
}


You might want to check out UnrealString.h to see exactly how this is occurring :slight_smile:

Rama

PS: Bob_Gneu I really like your quote in your signature :heart:

7 Likes