StringExtensionsEnsureEquals Method

Overload List

EnsureEquals(String, String) Determines whether the source string equals to the specified string.

If does not, it replaces the source string for the specified string.

EnsureEquals(String, String, StringComparison) Determines whether the source string equals to the specified string.

If does not, it replaces the source string for the specified string.

See Also