Error Messages/40911


Error message examples

The regular expression used in SplitText does not contain «subPattern» 3.

Cause

The «subPattern» number or name passed to the SplitText was not found in the regular expression passed as the «separator» parameter.

You can either pass in the number of the subpattern starting from the left or the name of the subpattern. You can name the subpattern by following the opening parenthesis by a question mark and then the name of the subpattern inside angle brackets. Please click on the following link to learn more about using regular expression with SplitText.

Example of calling SplitText using regular expressions:

SplitText('17.5 19 1. .5 0.1111', '(\d(?<a>\.)\d)|(?<a>\s+)', re: 1, subpattern:'a') →
['17','5','19','1.','.5','0','1111']

Remedies

Specify a valid subpattern number or the subpattern name as the «subPattern» parameter to SplitText.

See Also

Comments


You are not allowed to post comments.