cancel
Showing results for 
Search instead for 
Did you mean: 

Concatenation of first 4 character from last name and last 3 character from first name

Shilpa2
Explorer
0 Kudos

Hello All,

I have a custom ID field in employee central personal information portlet and this field should be concatenation of Last 4 characters of last name and first 2 characters of first name, how do i get Last 4 characters of last name and first 2 characters of first name, in the business rule.

Thanks

Shilpa

Accepted Solutions (1)

Accepted Solutions (1)

nlgro023
Active Contributor
0 Kudos

You start of with a concatenate, and you'll require 2 substrings:


The last 4 letters is more difficult, but you could first have a variable to get the length (obviously, you'll use a different field than job classification):


Then you could use a substring with that length to determine the last 4 letters of the name (Length can actually also be 4 here):


First 2 letters of first name is via a substring (obviously, you'll use a different field than job classification):


Answers (1)

Answers (1)

Shilpa2
Explorer
0 Kudos

Thanks a lot Jasper.