Hello, i have a problem using a function of FString object, the function is ParseIntoArray, this is my code:
FString checkResult = "split %text";
const TCHAR *delim;
delim = TEXT("%");
TArray<FString, FDefaultAllocator> Parsed;
checkResult.ParseIntoArray(&Parsed, delim, false);
In the tutorials that code is correct but in the Visual Studio always return error, this is the error:
Error 1 error C2664: 'int32 FString::ParseIntoArray(TArray<FString,FDefaultAllocator> &,const TCHAR **,int32,bool) const' : cannot convert argument 1 from 'TArray<FString,FDefaultAllocator> *' to 'TArray<FString,FDefaultAllocator> &'
And not compile, i dont understand the problem, They know a solution?
I know it’s a bad declaration, but i dont know which is…
Thanks for reading, sorry for my bad english =)