Answers for "string trin c#"

C#
0

string trin c#

var tmp = "  hello world  \t";
var res1 = tmp.Trim(); // "hello world"
var res2 = tmp.Replace(" ", String.Empty); // "helloworld\t"
Posted by: Guest on April-15-2021

C# Answers by Framework

Browse Popular Code Answers by Language