Содержание

SplitRegExpr

Splits the specified string according to the specified regular expression.

Syntax

function SplitRegExpr(aRegExpr: string; aInputStr: string): array of string;

Parameters

Returned value

Examples

  1. var pieces := SplitRegExpr('\s','1'#9'2'#10'3'#13'');
    for var i:=0 to pieces.Count - 1 do
      Log(pieces[i]);