on 05-17-2016 12:08 PM
Hi Experts,
I am having a field value Ex: Empid : IP1234567890 THOMAS PHILIPS MARK
How can i achieve from IP1234567890 separate and name separate THOMAS PHILIPS MARK
For Empid i have given as substring properties starting 1 to 12 but for last name how can i give the values in substring because the name will be dynamically changes based on employee name so how can i add the count in substring.
Regards,
Shaik
Hi Shaik,
You can achieve this requirement using standard mapping function substring and providing following parameters for it:
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a UDF where input to UDF is called inputString
Use the Split string as Space " "
String splitString[] = inputString.split(" ");
String IPContent = splitString[0];
String firstName = splitString[1];
String middleName = splitString[2];
String lastName = splitString[3];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.