on 07-01-2014 1:05 PM
Hi,
Can you help me to find out index of following strting.
"sss.xxxxx_pain.001.001.02_1002225618.xml"
need to get value "1002225618".
ideally i need to get the value inbetween after second "_" and value before ".xml".
Thanks
Mahi
Hi Mahi,
You can achieve this by UDF. Try with below code
{
int len= var1.length();
int sublen = var1.lastIndexOf("-");
var1=var1.substring(sublen+1, len);
return var1;
}
Regards,
Krupa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahi,
Please close the thread If your issue resolved.
http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why
Regards,
Krupa
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.
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.