Strings are pieces of text enclosed in double quotes. bubblecode has two ways to join strings and several built-in functions for working with them.
Joining strings
Use & to join strings directly (no space) or && to join with a space:
join.bubbleString functions
bubblecode has built-in functions for common text operations:
strfns.bubbleChecking contents
Use contains to check if a string includes a certain word:
contains.bubbleExercise
Exercise
Create a variable "first" with value "Hello" and "second" with value "bubblecode". Print them joined with a space using &&.
exercise.bubbleQuiz
Question 1 of 3
What is the difference between & and && when joining strings?