StringExtensionsEnsureEndsWith Method

Overload List

EnsureEndsWith(String, String) Determines whether the end of the source string matches the specified string.

If does not, it appends the specified string at the end of the source string.

EnsureEndsWith(String, String, StringComparison) Determines whether the end of the source string matches the specified string.

If does not, it appends the specified string at the end of the source string.

See Also