Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9242

Re: substring to get last values

$
0
0

Hi Naveen,

                   Made little changes to your code. Please try the code given below

 

 

public static String returnStr(String output)
 {  String output1="";  int l;  if (output!=null  && !output.equals("") )  {     l=output.length();     if(l>=12)     {      output1 = output.substring(12,l);     }           }        return output1;
 }

 

Regards

Anupam

 

Message was edited by: Anupam Ghosh


Viewing all articles
Browse latest Browse all 9242

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>