PROPERTY:  Stream::LineSeparator

Implemented in version 2.5

streamobject.LineSeparator = LineSeparatorsEnum
LineSeparatorsEnun = streamobject.LineSeparator


The LineSeparator property sets or returns a LineSeparatorEnum constant that dictates which type of line separator character will be used when reading the text data of a Stream. If you try to use this property with binary data, nothing will happen.

The three choices are carriage return, line feed, or the default which is both a carriage return and a line feed.
 
LineSeparatorEnum Constants

Constant Value Description
adCR 13 Carriage return only
adCRLF -1 Default, both a carriage return and a line feed
adLF 10 Line feed only

 
Code (VBScript):
objStream.LineSeparator = adLF

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information