How to convert TArray to TSet?

Hi,
I have an array of string TArray<FString> and it needs to be converted to TSet<FString> .
Any idea on how to do that?

Hello,



TArray<FString> MyArray;
TSet<FString> MySet = TSet<FString>(MyArray);


1 Like

Thanks Alex, that solved the issue.