Delphi Programming RTL Reference|By Category|Alphabetically|By Unit
function AdjustLineBreaks(const S: string): string;
Returns the string with all line breaks converted to true CR/LF sequences.
The function changes any CR characters not followed by a LF and any LF characters not preceded by a CR into CR/LF pairs. It also converts LF/CR pairs to CR/LF pairs. The LF/CR pair is common in Unix text files.
String Types in Delphi
var s : string;
Understanding and managing string data types in Delphi's Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings.
Free Delphi code snippet inside every Delphi Newsletter!|
Got some code to share? Got a question? Need some help?|