join method

String join([
  1. String separator = ''
])

Returns a string representation of the WordPair where the two parts are joined by separator.

For example, new WordPair('mine', 'craft').join() returns minecraft.

Implementation

String join([String separator = '']) => '$first$separator$second';