C# Length Function in ASP.Net

C# String Length function returns the total number of characters in the specified string. C# length function proves itself as very useful one when it is used with some other C# string functions such as remove or insert. You can apply a simple logic for that for example to remove last 2 character from the string just pass "object.Length - 2" as start index parameter of the C# Remove string function. Try the sample below:

Enter String: