-
Notifications
You must be signed in to change notification settings - Fork 2
Strings
Lam edited this page Feb 21, 2026
·
4 revisions
Strings are text wrapped in quotation marks ". For example: the string "Hello, World!" represents the text Hello, World!
-
+: String concatenation, used to join2strings together. For instance:"Hello, " + "World!"results to"Hello, World!". This can be performed onstring(aka joining strings) -
==: String equality, compares if2strings contain the same content: -
!=: Opposite of string equality, compares if2strings contain different contents
For example
"abcd"equals"abcd"but not equals"ABCD".