Unit 'msestrings' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

breaklines

Splits source into one array item per line (e.g. the lines of a memo field's text)

Declaration

Source position: msestrings.pas line 539

function breaklines(

  const source: string

):stringarty; overload;

function breaklines(

  const source: msestring

):msestringarty; overload;

function breaklines(

  const source: msestring;

  maxlength: Integer

):msestringarty; overload;

Description

Splits source into one array item per line (e.g. the lines of a memo field's text). The maxlength overload also wraps each line that is longer than maxlength.


Documentation generated on: 2026-10-03