Here are the examples of the csharp api string.RemoveRight(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : StringExtensions.cs
with MIT License
from silphid
with MIT License
from silphid
public static string RemoveSuffix(this string value, string suffix)
{
if (value.EndsWith(suffix))
return value.RemoveRight(suffix.Length);
return value;
}