UBlueprintEditorLibrary::GetCurrentEngineVersion

Returns a string which represents the current engine version (FEngineVersion::Current())