Announcement

Collapse
No announcement yet.

How to convert TArray to TSet?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    Hello,

    Code:
    TArray<FString> MyArray;
    TSet<FString> MySet = TSet<FString>(MyArray);
    Have An Awesome And Productive Day
    Alex, Youtube Tutorials

    Comment


      #3
      Thanks Alex, that solved the issue.

      Comment

      Working...
      X