WolframLang: Write File

By Xah Lee. Date: .
WriteString[ fileNameOrPath, string]
writes String to a file.
  • if the file does not exist, it is created.
  • if the file already exists, it is overwritten.
WriteString[ "xxtest", "
some
thing"]

WolframLang: Shell Tasks

WolframLang in Depth

Basics

Comment, Print

String

Arithmetic

List

Expression, Atom, Head

Boolean

Conditional

Variable

Loop

Data Structure

Function

Pattern Matching

Advanced

Shell Tasks

Misc