Содержание

ReplaceRegExpr

Substitutes the specified text in the string at the specified, in accordance with the specified regular expression

Syntax

function ReplaceRegExpr(aRegExpr: string; aInputStr: string;
  aReplaceStr : string; aUseSubstitution: boolean = false): string;

Parameters

Returned value

Examples

  1. Log(ReplaceRegExpr ('\s', '1 2 3 ', '|'));
       //Result in the log  1|2|3|4|5