A string literal or anonymous string is a string value in the source code of a computer program. In modern programming languages usually use a quoted sequence of characters, formally “bracketed delimiters”, as in
x = "foo"
. Where"foo"
is a string literal with valuefoo
.
Bibliography
“String Literal.” 2022. Wikipedia, August. https://en.wikipedia.org/w/index.php?title=String_literal&oldid=1105586964.