ImportString
Listing of Formats »ImportString["data","format"]
imports data in the specified format from a string.
ImportString["data",elements]
imports the specified elements.
ImportString["data"]
attempts to determine the format of the string from its contents.
Details
- ImportString handles a large number of formats, each typically with many different possible elements. The possible formats are given in the list $ImportFormats, and in the "Listing of All Formats".
- ImportString works just like Import, with the same element specifications and options.
Examples
open allclose allBasic Examples (2)
Scope (1)
Import a string by automatically inferring its format:
Use StringFormat to infer the format used by ImportString:
Text
Wolfram Research (1999), ImportString, Wolfram Language function, https://reference.wolfram.com/language/ref/ImportString.html (updated 2007).
CMS
Wolfram Language. 1999. "ImportString." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ImportString.html.
APA
Wolfram Language. (1999). ImportString. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImportString.html