Method ExtString.RemoveSuffix(+ 1 overload)
Overload
Removes suffix string from the end.
public static string RemoveSuffix(this string t, string suffix, bool ignoreCase = false)
Parameters
Returns
string
The result string. Returns this string if does not end with suffix. |
Exceptions
ArgumentNullException
suffix is |
Overload(top)
Removes suffix character from the end.
public static string RemoveSuffix(this string t, char suffix)
Parameters
Returns
string
The result string. Returns this string if does not end with suffix. |
Exceptions
ArgumentNullException
suffix is |