How to use "fainting" in a sentence

Sentences

Almost fainting, he asked in a weak voice, 'When did he leave?'