bs4.NavigableString.join

NavigableString.join(iterable) → unicode

Return a string which is the concatenation of the strings in the iterable. The separator between elements is S.