| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > TextProcessing Class : RemoveDuplicates Method |
Type: System.String
Source string.
Type: System.String
Delimiter for text in the string.
Type: System.String
Source string.
Type: System.String
Delimiter for text in the string.
Type: System.String
A new string without duplicates.
var result = Macros.TextProcessing.RemoveDuplicates("first;first;second", ";"); return result; // result = "first;second"
$result = Macros::TextProcessing::RemoveDuplicates("first;first;second", ";"); return $result; // result = "first;second"
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family