You need to sign in to do that
Don't have an account?
Arjun y 7
How to separate string values
Hi All,
I have a string which contains in the below format. I want only FailureList value. Can you please let me know how to get the failure list value from string?
I have a string which contains in the below format. I want only FailureList value. Can you please let me know how to get the failure list value from string?
String s1 = 'd:[FailureList=null, RecordTypeIDMap={Customer=012j0XXXX}]'
String resultText = s1.subString(s1.indexof('['), s1.indextof(',')-1);
Thanks
Sandeep Singhal
http://www.codespokes.com/