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.