Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

EOLMarker property

Project: I/O Utility Classes

Unit: PJPipeFilters

Class: TPJUnicodeBMPPipeFilter

Applies to: ~>1.0

property EOLMarker: UnicodeString;

Description

This property specifies the Unicode character or characters that mark the end of a line of Unicode text.

The filter splits lines of text read from the associated pipe based on the value of the property. The OnLineEnd event is triggered for each line read.

The property defaults to #13#10.

Remarks

It is usual to use the default property value or #10 or #13 on their own, but any string of Unicode text can be used.

Note that the UnicodeString type must be defined to use this property. This is a native type on Delphi 2009 or later. For Delphi 2007 and earlier the PJPipeFilters unit defines UnicodeString as WideString.