can the type of "FString" be converted to "char*" in ue4 c++?

That gives an error for me:

a value of type “const ANSICHAR*” cannot be used to initialize an entity of type “char*”

This works for me:

char* result = StringCast<ANSICHAR>(*myFString).Get();