code: def _hjoin_multiline(join_char, strings):
      
      cstrings = [string.split("\n") for string in strings]
      max_num_lines = max(len(item) for item in cstrings)
      pp = []
      for k in range(max_num_lines):
          p = [cstring[k] for cstring in cstrings]
          pp.append(join_char + join_char.join(p) + join_char)
  
      return "\n".join([p.rstrip() for p in pp])
docs: Horizontal join of multiline strings