WOLFRAM LANGUAGE IMPORT/EXPORT FORMAT

TerminatedString

Null-terminated text strings.
Represents an arbitrary number of null-terminated character strings.
Stores characters as 8-bit Unicode values.

Import and ExportImport and Export

  • Import["file","TerminatedString"] imports a file as a list of null-terminated character strings.
  • Export["file",str,"TerminatedString"] exports a string as a null-terminated sequence of 8-bit characters.
  • Export["file",{str1,str2,},"TerminatedString"] exports a list of strings to sequences of 8-bit character codes, each terminated by a null character.
  • Import["file","TerminatedString"] returns a list of strings.
  • Export["file",expr,"TerminatedString"] creates a text file from the OutputForm representation of expr.

ElementsElements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties, and settings

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Export two strings as null-terminated sequences of characters:

In[1]:=
Click for copyable input
Out[1]=

Import the previous output:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2003
(5.0)