WolframLang: Read File

By Xah Lee. Date: .
ReadString[fileNameOrPath]
reads the complete contents of a file and returns it as a string.
content = ReadString["c:/Users/xah/web/xahlee_info/M/wolframlang_read_file.html"]

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