code: def to_string(self, format_, fps=None, **kwargs):
          
          fp = io.StringIO()
          self.to_file(fp, format_, fps=fps, **kwargs)
          return fp.getvalue()
docs: Get subtitle file as a string.
  
          See :meth:`SSAFile.save()` for full description.
  
          Returns:
              str