Original: Later in a letter he said, the play, though "extremely funny" was Wilde's "first really heartless (one)".
Simplified: Later in a letter he said that the play was "extremely funny" but "really heartless".