Correct any errors in capitalization or punctuation. Your answer should be a single sentence.

"I've been meaning to ask", said the detective, "whether you happened to write down the license plate of that stolen car".

"I've been meaning to ask," said the detective, "whether you happened to write down the license plate of that stolen car."