NETLink`
NETLink`

FixCRLF

FixCRLF["str"]

changes the linefeeds in the given string to the CR/LF Windows convention.

更多信息和选项

  • 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.
Wolfram Research (2003),FixCRLF,Wolfram 语言函数,https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html.

文本

Wolfram Research (2003),FixCRLF,Wolfram 语言函数,https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html.

CMS

Wolfram 语言. 2003. "FixCRLF." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/NETLink/ref/FixCRLF.html.

APA

Wolfram 语言. (2003). FixCRLF. Wolfram 语言与系统参考资料中心. 追溯自 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: 09-May-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: 09-May-2025 ]}