RAD Studio VCL Reference
|
Adjusts line break characters in a WideString to reflect Windows or Linux style.
function WideAdjustLineBreaks(const S: WideString; Style: TTextLineBreakStyle = tlbsCRLF): WideString;
BSTR WideAdjustLineBreaks(const BSTR S, TTextLineBreakStyle Style = tlbsCRLF);
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|