How to get Filename without extension?

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

FPaths::GetBaseFilename

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

thanks a lot.