How to remove duplicate values within a string variable

@Ashish_Mehra

Try this.

           yourString.Split(Environment.NewLine.TocharArray).Distinct().Toarray()
1 Like