Answers for "remove all occurences of a char but last c#"

C#
3

how to remove last 3 characters from string in c#

myString = myString.Substring(0, myString.Length-3);
Posted by: Guest on October-02-2020

Code answers related to "remove all occurences of a char but last c#"

C# Answers by Framework

Browse Popular Code Answers by Language