Question & Answer
Question
How to extract a subset of a aaa/bbb/ccc/ddd like string from the REQ buffer?
Answer
Contents
Question
Question
How to extract a subset of a aaa/bbb/ccc/ddd like string from the REQ buffer?
Answer
The following privacy rule can be used to address this question:
[TL_ReqSetSubString]
Section=urlfield
Action=ReqSet
Field=campid
StartPatternRE=(.*)\/(.*)\/(.*)\/(.*)
Inclusive=true
ReqSetResult={g1}/{g2}
ReqSetField=TL_MY_NEW_STRING
ReqSetSection=appdata
The TL_MY_NEW_STRING request field is a subset of the whole string: aaa/bbb.
[TL_ReqSetSubString]
Section=urlfield
Action=ReqSet
Field=campid
StartPatternRE=(.*)\/(.*)\/(.*)\/(.*)
Inclusive=true
ReqSetResult={g1}/{g2}
ReqSetField=TL_MY_NEW_STRING
ReqSetSection=appdata
The TL_MY_NEW_STRING request field is a subset of the whole string: aaa/bbb.
Article Reference
00000708
Applies to version(s): 7.x;8.x
"
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSERNK","label":"Tealeaf Customer Experience"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]
Was this topic helpful?
Document Information
Modified date:
08 December 2018
UID
ibm10777179