I need to return maximum 9 digits of the following abc string .How to do this?
public string test()
{
string abc="asdhfjsdfkjhfiovjalksdhafbvklxkjszjhd";
return abc;
}
public string test()
{
string abc="asdhfjsdfkjhfiovjalksdhafbvklxkjszjhd";
return abc.Substring(0,9);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With