.join()
is a useful string method that will join strings with a specified string or character.
- Inside
.join()
‘s parenthesis goes the strings to be added together. - In front of
.join()
goes the glue, the character that will add the strings together.
Let’s see examples: