Answers for "c#remove first 2 char"

C#
4

c# remove first 5 characters from string

str = str.Substring(n); //Where n is the number of characters you want to remove
Posted by: Guest on April-20-2020
1

c# remove first three characters from string

str = "hello world!";
str.Substring(n, str.Length-n)
Posted by: Guest on October-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language