[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Word-wrap a text.
Source position: sysstrh.inc line 251
function WrapText( |
const Line: string; |
const BreakStr: string; |
const BreakChars: TSysCharSet; |
MaxCol: Integer |
):string; |
const Line: string; |
MaxCol: Integer |
):string; |
WrapText does a wordwrap at column MaxCol of the string in Line. It breaks the string only at characters which are in BreakChars (default whitespace and hyphen) and inserts then the string BreakStr (default the lineending character for the current OS).
|
Replace occurrences of one substring with another in a string. |