Wildcard Text Parameters
Pega Robotic Automation supports the use of wild cards with text string parameters for applicable controls. This topic describes how to use the wildcard for text matching in method parameters and for use with match rules.
Use the asterisk "*” character to indicate a wildcard. The following requirements apply to using wild cards:
Wildcards may be placed at the beginning or end of the string.
Wildcard strings can take the form of:
*D* (Contains D)
D* (Word begins with D)
*D (Word ends with D)
Asterisks placed within the middle of a string are treated as literals. For example, the wildcard string: F* Yoder would not match Fred Yoder.
See the following examples using the wildcard with the ComboBox.Find(wildcard) method where the ComboBox contains these items:
Frank Parden
Stephanie Tackett
Dontarious Lockwood
Fred Yoder
Wildcard parameter input |
Item Found |
Method Result |
*Yo* |
Fred Yoder |
3 |
*n |
Frank Parden |
0 |
S* Tackett |
none |
-1 |
*Tackett |
Stephanie Tackett |
1 |
When using wild cards with match rules, enter any wildcard parameters into the top text field of the Match Rule Editor (not the bottom).
Related information
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.