Click here to Skip to main content
16,005,339 members
Home / Discussions / C#
   

C#

 
GeneralRe: int[] sort Pin
Luc Pattyn2-Apr-09 6:13
sitebuilderLuc Pattyn2-Apr-09 6:13 
GeneralRe: int[] sort Pin
Henry Minute2-Apr-09 4:27
Henry Minute2-Apr-09 4:27 
GeneralRe: int[] sort [modified] Pin
Judah Gabriel Himango2-Apr-09 5:16
sponsorJudah Gabriel Himango2-Apr-09 5:16 
GeneralRe: int[] sort Pin
Henry Minute2-Apr-09 6:25
Henry Minute2-Apr-09 6:25 
QuestionCreate table with DrawRectangle..?? Pin
iman_ridwan1-Apr-09 17:39
iman_ridwan1-Apr-09 17:39 
AnswerRe: Create table with DrawRectangle..?? Pin
Judah Gabriel Himango1-Apr-09 17:49
sponsorJudah Gabriel Himango1-Apr-09 17:49 
Questionstring comparision ignores escape sequence and html tags [modified] Pin
LiYS1-Apr-09 16:22
LiYS1-Apr-09 16:22 
AnswerRe: string comparision ignores escape sequence and html tags Pin
Judah Gabriel Himango1-Apr-09 17:32
sponsorJudah Gabriel Himango1-Apr-09 17:32 
There isn't such a thing built in the .NET framework class libraries.

You could build your own like this:

public static string GetStringWithoutEscapedSequences(string input)
{
    var escapedSequences = new[] { "\r\n", "<br>" };
    foreach(var sequence in escapedSequences)
    {
        input = input.Replace(sequence, string.Empty);
    }
    return input;
}


Then compare your strings like this:

var first = GetStringWithoutEscapedSequences(strA);
var second = GetStringWithoutEscapedSequences(strB);

var areEqual = string.Equals(first, second);




Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
Judah Himango



GeneralThreading issue in winforms Pin
Mycroft Holmes1-Apr-09 16:22
professionalMycroft Holmes1-Apr-09 16:22 
GeneralRe: Threading issue in winforms Pin
Judah Gabriel Himango1-Apr-09 16:59
sponsorJudah Gabriel Himango1-Apr-09 16:59 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:16
professionalMycroft Holmes1-Apr-09 17:16 
GeneralRe: Threading issue in winforms Pin
Judah Gabriel Himango1-Apr-09 17:46
sponsorJudah Gabriel Himango1-Apr-09 17:46 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:56
professionalMycroft Holmes1-Apr-09 17:56 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 17:34
N a v a n e e t h1-Apr-09 17:34 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:54
professionalMycroft Holmes1-Apr-09 17:54 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 17:59
N a v a n e e t h1-Apr-09 17:59 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 18:10
professionalMycroft Holmes1-Apr-09 18:10 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 18:15
N a v a n e e t h1-Apr-09 18:15 
GeneralRe: Threading issue in winforms Pin
Luc Pattyn2-Apr-09 4:37
sitebuilderLuc Pattyn2-Apr-09 4:37 
QuestionVS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 15:57
dboy2211-Apr-09 15:57 
AnswerRe: VS 2008 Unit Testing Null Exception Error Pin
Judah Gabriel Himango1-Apr-09 16:42
sponsorJudah Gabriel Himango1-Apr-09 16:42 
GeneralRe: VS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 17:22
dboy2211-Apr-09 17:22 
QuestionCompleting a mulit-page webform using WebClient Pin
front711-Apr-09 15:18
front711-Apr-09 15:18 
QuestionComboBoxes and DataGridViews... Pin
Illegal Operation1-Apr-09 13:37
Illegal Operation1-Apr-09 13:37 
AnswerRe: ComboBoxes and DataGridViews... Pin
Mycroft Holmes1-Apr-09 16:27
professionalMycroft Holmes1-Apr-09 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.