[Overview][Constants][Classes][Procedures and functions][Index] Reference for unit 'StrExtra' (#Pkg)

WrapTextToString

WrapTextToString does a wordwrap at column Width of the string in S.

Declaration

Source position: strextra.pas line 136

function WrapTextToString(

  const S: string;

  const BreakChars: TSysCharSet;

  Width: Integer;

  const BreakStr: string

):string;

Description

It breaks the string only at characters which are in BreakChars and inserts then the string BreakStr.