Application Integration (On-Premises) : Integration Server Built-In Services : String Folder : pub.string:lookupTable
pub.string:lookupTable
WmPublic. Locates a key in a String Table and returns the string to which that key is mapped.
Input Parameters
lookupTable
String [ ] [ ] A multi-row, multi-column string table in which to search.
keyColumnIndex
String Index of the "key" column. Default is 0.
valueColumnIndex
String Index of the "value" column. Default is 1.
key
String Key to locate.
Note:  
The key is case sensitive.
ignoreCase
String Optional. Flag indicating whether to perform a case-sensitive or case-insensitive search. Set to:
*true to perform a case-insensitive search.
*false to perform a case-sensitive search. This is the default.
useRegex
String Optional. Flag indicating whether the values in the table are to be interpreted as regular expressions.
Note:  
The regular expressions in the table should not include slashes. For example, use hello.*, not /hello.*/.
Set to:
*true to interpret the key column values in the table as regular expressions.
*false to interpret the key column values in the table as literal values (that is, not regular expressions). This is the default.
Output Parameters
value
String First value in the "value" column whose key matches key. If no match is found, this parameter is null.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback