If the group of words following the but is independent (it can stand as a complete sentence), the comma is used. I went out yesterday, but I got lost. I went out yesterday but got lost.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Casi If there is ever any doubt, however, use the comma, as it is always correct in this situation."
AnonymousIf there is ever any doubt; however, use the comma, as it is always correct in this situation."
AnonymousThe comma goes inside the quote, not outside.Actually, in this case, correct comma placement depends on which country you live in.