1.

How to remove last 3 character from string in csharp?

Answer»

How to remove last 3 character from string in CSHARP?
Below is the code to remove last 3 character from string in C#.net

myString=myString.Substring(0,myString.LENGTH-3);


here in above code we can increase then length of removing character by length-3



Discussion

No Comment Found