Posted on 16th September 2024|36 views
Posted on 16th September 2024| views
We use an expression called the ternary operation to separate the given names. A simple tMap expression is just a single line Java Code.
StringHandling.INDEX(row1.GivenNames," ") > 0 ? StringHandling.LEFT(row1.GivenNames,StringHandling.
INDEX(row1.GivenNames," ")) : row1.GivenNames
StringHandling.INDEX(row1.GivenNames," ") > 0 ? StringHandling.RIGHT(row1.GivenNames,StringHandling.
LEN(row1.GivenNames)-StringHandling.INDEX(row1.GivenNames," ")–1) : ""