![]() You can use a variable to stand in for a string or use a string directly. The most important feature of double-quoted strings is the fact that variable names will be expanded, giving you the value of the variable. Creating and Viewing the Output of Strings Using escape sequences gives us the ability to build any string required while including these special characters. Here is an example of how you can use these sequences in a string: "\"What type of \$ do sharks use?\"\n\tSand dollars!"
0 Comments
Leave a Reply. |