Integration Server 10.7 | Built-In Services Reference Guide | String Folder | Summary of Elements in this 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.