ExportString

WMA link


ExportString[expr, form]

exports expr to a string, in the format form.

Export["file", exprs, elems]

exports exprs to a string as elements specified by elems.

$ExportFormats
FileFormat