A string literal is a string surrounded by single or double quotes.
'This is a string literal'
"This is also a string literal"
If you need to have an apostrophe in a string use double-quotes.
"That is Alice's cat."
A string literal is a string surrounded by single or double quotes.
'This is a string literal'
"This is also a string literal"
If you need to have an apostrophe in a string use double-quotes.
"That is Alice's cat."