Public Property IgnoreWhitespaceDifferences As Boolean
Dim instance As CompareLogic Dim value As Boolean instance.IgnoreWhitespaceDifferences = value value = instance.IgnoreWhitespaceDifferences
public bool IgnoreWhitespaceDifferences {get; set;}
Public Property IgnoreWhitespaceDifferences As Boolean
Dim instance As CompareLogic Dim value As Boolean instance.IgnoreWhitespaceDifferences = value value = instance.IgnoreWhitespaceDifferences
public bool IgnoreWhitespaceDifferences {get; set;}
CompareLogic compareLogic = new CompareLogic(); //Trial Mode //CompareLogic compareLogic = new CompareLogic("place user name here", "place license key here"); //License Mode //Set it to NOT ignore spaces at the beginning or end and vertical whitespace //The default is true compareLogic.IgnoreWhitespaceDifferences = false; //Compare two strings string original = "John Smith"; string changed = " John Smith"; ComparisonResult result = compareLogic.CompareStrings(original, changed); //Output to HTML, also can export to CSV, or DataTable OutputHtmlLogic outputLogic = new OutputHtmlLogic(); outputLogic.OutputToFile(result, "IgnoreWhitespaceDifferencesTest.html"); //Show the file in the browser System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = "IgnoreWhitespaceDifferencesTest.html"; proc.Start();
Dim compareLogic As New CompareLogic() 'Trial Mode 'Dim compareLogic As New CompareLogic("place user name here", "place license key here") 'License Mode 'Set it to NOT ignore spaces at the beginning or end and vertical whitespace 'The default is true compareLogic.IgnoreWhitespaceDifferences = False 'Compare two strings Dim original As String = "John Smith" Dim changed As String = " John Smith" Dim result As ComparisonResult = compareLogic.CompareStrings(original, changed) 'Output to HTML, also can export to CSV, or DataTable Dim outputLogic As New OutputHtmlLogic() outputLogic.OutputToFile(result, "IgnoreWhitespaceDifferencesTest.html") 'Show the file in the browser Dim proc As New System.Diagnostics.Process() proc.StartInfo.FileName = "IgnoreWhitespaceDifferencesTest.html" proc.Start()
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2