Answers for "get string after last / c#"

C#
38

c# remove last character from string

string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);
Posted by: Guest on June-19-2020
15

c# get last character of string

string str = "Hello World";
string substr = str.Substring(str.Length - 1);
Posted by: Guest on May-23-2020

Code answers related to "get string after last / c#"

C# Answers by Framework

Browse Popular Code Answers by Language