System.WideStrUtils.WideAdjustLineBreaks

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WideAdjustLineBreaks(const S: WideString; Style: TTextLineBreakStyle = tlbsCRLF ): WideString;

C++

extern DELPHI_PACKAGE System::WideString __fastcall WideAdjustLineBreaks(const System::WideString S, System::TTextLineBreakStyle Style = (System::TTextLineBreakStyle)(0x1));

Properties

Type Visibility Source Unit Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Adjusts line break characters in a WideString to reflect Windows or Linux style.

WideAdjustLineBreaks returns a text string with its line breaks adjusted to fit a specified style.

S is the WideString to convert.

Style indicates whether the line breaks should all be Windows-style breaks with a carriage return and line feed (tlbsCRLF), or Linux-style breaks with a single line feed character (tlbsLF). If Style is omitted, the style for the compile target is used.

See Also