Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

string trin c#

var tmp = "  hello world  	";
var res1 = tmp.Trim(); // "hello world"
var res2 = tmp.Replace(" ", String.Empty); // "helloworld	"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #trin
ADD COMMENT
Topic
Name
5+4 =