Slate Living Tutorialto those about to rock... StringsDocumentation on strings can be found here and here. Strings are sequences of characters. A string can be literally defined by enclosing characters in single quotes: 'this is a string'. Special characters are backspaced: 'go to the next line\n'. Iteration Since strings are sequences, you can iterate over them:
Output:
Concatenation
Output:
last updated 2 years ago # |