Table of Contents

Difference Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/StringExtensions.cs

Difference(string, string)

Returns the set difference between second and first or Empty if no difference.

public static string Difference(this string first, string second)

Parameters

first string

The value where characters that are not also in second will be returned.

second string

The value to compare with first.

Returns

string

A string that contains the set difference between second and first or Empty if no difference.