StringFormat["string"]
attempts to determine what ImportString format could be used to import the string "string".


StringFormat
StringFormat["string"]
attempts to determine what ImportString format could be used to import the string "string".
Details and Options

- StringFormat returns a format name of the type used by Import or ImportString.
- StringFormat uses heuristic methods, and may not give correct results, particularly for shorter strings.
- StringFormat does not verify that ImportString would succeed if applied to "string".
History
Text
Wolfram Research (2007), StringFormat, Wolfram Language function, https://reference.wolfram.com/language/ref/StringFormat.html.
CMS
Wolfram Language. 2007. "StringFormat." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StringFormat.html.
APA
Wolfram Language. (2007). StringFormat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StringFormat.html
BibTeX
@misc{reference.wolfram_2025_stringformat, author="Wolfram Research", title="{StringFormat}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StringFormat.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_stringformat, organization={Wolfram Research}, title={StringFormat}, year={2007}, url={https://reference.wolfram.com/language/ref/StringFormat.html}, note=[Accessed: 08-August-2025]}