Yes, the double quotes are used for string literals, and the single quotes are used for character literals. So even if your string only has only zero or one characters, you would use double quotes if you want to treat it as a string. And of course a character literal in single quotes must be exactly one character.