FixCRLF["str"]
changes the linefeeds in the given string to the CR/LF Windows convention.


FixCRLF
FixCRLF["str"]
changes the linefeeds in the given string to the CR/LF Windows convention.
Details and Options
- To use FixCRLF, you first need to load .NET/Link using Needs["NETLink`"].
- This function is typically used on strings that are generated in the Wolfram Language and need to be placed into text boxes or other .NET GUI elements.
- Wolfram Language strings use just the \n character (ASCII 10) for newlines, and these characters generally show up as rectangles in Windows text-based controls.
Tech Notes
Text
Wolfram Research (2003), FixCRLF, Wolfram Language function, https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html.
CMS
Wolfram Language. 2003. "FixCRLF." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html.
APA
Wolfram Language. (2003). FixCRLF. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html
BibTeX
@misc{reference.wolfram_2025_fixcrlf, author="Wolfram Research", title="{FixCRLF}", year="2003", howpublished="\url{https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_fixcrlf, organization={Wolfram Research}, title={FixCRLF}, year={2003}, url={https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html}, note=[Accessed: 18-August-2025]}