on 07-09-2015 12:29 PM
Hi all,
Am working on one scenario in the which i have cut the charcter of the word it into a maximum of 25 charcter .
means the chacter of the word may be comes a single charcter word or 5 charcter word
and if the word limit exceed 25 means it should trim it into 25
please help out in this issue
Regards,
vijender.
Hi Vijender,
You could use a UDF, a simple type will do.
Arguments: inp
if(inp.length()>25){
return inp.substring(0,25);
}
else
return inp;
Regards,
Mark
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.
Vi Vijender,
Have you tried with the substring function? Standard Functions in PI 7.0 - Process Integration - SCN Wiki
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.