string trim end in c#

1
3



Program that trim the end of a string in C#

1) Implementation using an extension method
2) using String.TrimEnd API method

Like and share. It’s FREE too 🙂

ASP.NET Web API

Download source code at:

Follow us on Facebook

Play Lists

c#

Java

JavaScript

Nguồn:https://wijstaanvooronzegrondrechten.org/

1 COMMENT

  1. lets say i had a string like hello1 hello2 hello3 and i wanted to split the 3 appart (you cant yous split() becouse it doesnt use the first hello1) so how do i just get rid of everything else besides hello1

LEAVE A REPLY

Please enter your comment!
Please enter your name here