Name
TextStream.Write Method
Syntax
oTextStreamObj
.Write(Text
)
-
oTextStreamObj
Use: Required
Data Subtype: TextStream object
Any property or object variable returning a writable TextStream object.
-
Text
Use: Required
Data Subtype: String
Any string expression to write to the file.
Availability
W
Description
Writes a string to the text file.
Rules at a Glance
The file marker is set at the end of string. As a result, subsequent writes to the file adjoin each other, with no spaces inserted. To write data to the file in a more structured manner, use the WriteLine method.
Get VBScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.