How to get Filename without extension?

I’ve been using the below code to get the filename and it’s works fine for me. But I the file name WITHOUT extension(.uasset).

const FString fileName = FPaths::GetCleanFilename(filePath);

Thanks !!

2 Likes

// Returns the same thing as GetCleanFilename, but without the extension

FPaths::GetBaseFilename

thanks a lot.