Should I use global static FString variables?

How often is this code executed ? I don’t think performance is such a problem here (as far as usage of FString is concerned) unless you notice frame drops while executing this. I would just go with the readability over trying to squeeze as much performance as you can.

In shipping build the compiler will optimize those strings.