({{, (RefLink[ImportString, paclet:ref/ImportString])["data","format"]
imports data in the specified format from a string. }, {, (RefLink[ImportString, paclet:ref/ImportString])["data",elements] 
imports the specified elements.}, {, (RefLink[ImportString, paclet:ref/ImportString])["data"] 
attempts to determine the format of the string from its contents.}})

OpenersNotesSection(Spacer1)Details

(RefLink[ImportString, paclet:ref/ImportString]) handles a large number of formats, each typically with many different possible elements. The possible formats are given in the list (RefLink[$ImportFormats, paclet:ref/$ImportFormats]), and in the "Listing of All Formats".

(RefLink[ImportString, paclet:ref/ImportString]) works just like (RefLink[Import, paclet:ref/Import]), with the same element specifications and options.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Read a string as a table:

ImportString["3,4,6\na,b,c","Table"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[SemanticImportString, paclet:ref/SemanticImportString])  ▪  (RefLink[ExportString, paclet:ref/ExportString])  ▪  (RefLink[Import, paclet:ref/Import])  ▪  (RefLink[ImportByteArray, paclet:ref/ImportByteArray])  ▪  (RefLink[NotebookImport, paclet:ref/NotebookImport])  ▪  (RefLink[StringFormat, paclet:ref/StringFormat])  ▪  (RefLink[Input, paclet:ref/Input])  ▪  (RefLink[BaseDecode, paclet:ref/BaseDecode])  ▪  (RefLink[Uncompress, paclet:ref/Uncompress])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Importing and Exporting Data, paclet:tutorial/ImportingAndExportingData])}, {▪(RefLinkPlain[Importing Graphics and Sounds, paclet:tutorial/ImportingGraphicsAndSounds])}, {▪(RefLinkPlain[Importing and Exporting Files, paclet:tutorial/ImportingAndExportingFiles])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Importing and Exporting, paclet:guide/ImportingAndExporting])}, {▪(RefLinkPlain[Converting between Expressions & Strings, paclet:guide/ConvertingBetweenExpressionsAndStrings])}, {▪(RefLinkPlain[String Manipulation, paclet:guide/StringManipulation])}, {▪(RefLinkPlain[String Operations, paclet:guide/StringOperations])}, {▪(RefLinkPlain[Network Programming, paclet:guide/NetworkProgramming])}, {▪(RefLinkPlain[XML Formats, paclet:guide/XMLFormats])}, {▪(RefLinkPlain[Text Normalization, paclet:guide/TextNormalization])}, {▪(RefLinkPlain[Character Operations, paclet:guide/CharacterOperations])}, {▪(RefLinkPlain[External Interpreted Language Interfaces, paclet:guide/ExternalInterpretedLanguageInterfaces])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/44-importing-and-exporting.html])(WebLink[: Importing and Exporting, https://www.wolfram.com/language/elementary-introduction/44-importing-and-exporting.html])}})}})