Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information