LOLCODE YARNs (Strings)
Lesson 1 of 2
  1. 1
    LOLCODE allows us to combine, or concatenate, multiple strings together by using the SMOOSH and MKAY keywords. For example, if the code below is executed: BTW Results in “baklavaaaaaaa” VISIBLE S…
  2. 2
    For the case of SMOOSHing together strings and variables, LOLCODE supports a popular shortcut called string interpolation. Interpolation here refers to placing variables within strings in an easi…
  3. 3
    Most programming languages have some way of embedding specialized characters in strings that need to be presented in an unusual way. For example, “newline” characters (often represented by \n) indi…
  4. 4
    Fun fact: Unicode is the standard for how strings are stored and displayed across systems. It’s maintained by the Unicode Consortium, a non-profit organization with responsibilities ranging…

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo