It can be cause by the Intellisense not updating/parsing the current include files, you can try to write a simple code like this string mystring = "Hello!";
and it should compile fine!.
Anyway unreal has also the FString class, take a look also here for type conversion.