When challenges require to read a string via STDIN/Console I have seen people interpreting that in mainly two ways. The first one was that you actually just have to type the string as
This is an example string.
the second way required you to also type some sort of delimiter (usually double
" or single
"This is an example string."
'This is an example string.'
The question now is: Which one of those does actually count as string input via STDIN?
I am not sure, but I can imagine that there are languages where only one of those methods is possible for accepting strings as input.
On the other hand it might be easier (in codegolf: shorter) in some languages to use one or the other way.