Extension Methods from Dmitry
-
RemoveRightIfPresent
Removes end of string if it equals to parameter, otherwise returns origin string
ExtensionMethod.NET Home of 880 C#, Visual Basic, F# and Javascript extension methods
Removes end of string if it equals to parameter, otherwise returns origin string