/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h
Gets index of name in enum, returns INDEX_NONE and optionally errors when name is not found. Handles full or short names.
int32 GetIndexByNameString ( const [FString](API\Runtime\Core\Containers\FString) & SearchString, EGetByNameFlags Flags ) const