I use FString because it’s a custom Blueprint function. I may be wrong, but I think it’s the only string type supported by blueprint functions. If that’s not the case, I’d gladly change to anything that works better.
FString also seems to work better since I have to do a bit of concatenation. seems impossible to do with char arrays. Something like this
FString filter(ExtensionName.Len() + 2 + Extension.Len(), *(ExtensionName + TEXT("\0") + Extension + TEXT("\0")));
I tried constructing the FString this way. It still terminates at the first \0
FString filter(20, TEXT("Custom File \0*.cfl\0"));
I don’t understand the part about the Copy function. Could you elaborate a bit on that?