What is actually the purpose of a string?


Im trying to figure out what the difference is between setting a variable to, for example, brian="Hello Life!" or brian=Hello Life! Other examples include brian=12 and brian="12". I dont understand what the purpose of a string is or the quotes' significance. Thanks!


Strings are arrays of characters. You must have quotes around them or they will throw errors. A number doesn't need quotes, nor does a boolean (true and false), but strings must.