Good way for week strings compare

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

Dear Sirs,
is there a standard way for week strings compare?
I need to disregard spaces.
Of course I can build this functionality myself, but may be there is
something already there?
Thanks,
Boni
 
Sorry for misunderstanding. I meant week compare.
Example:
"a bbb ccc"
"a bbb ccc"
I just want to have compare without regarding to spaces.
So far I just did a regex to replace "\s+" with one space and then compare.
But may be there is already something in the language?
 
Boni,
Do you mean weak (as in not strong) string compares or week (as in 7 days)
string compares? ;-)

Other then removing the spaces as you suggest in your other message, I don't
know of any "weak" string compares in the Framework (this is not to say
there is not any).

Hope this helps
Jay

| Dear Sirs,
| is there a standard way for week strings compare?
| I need to disregard spaces.
| Of course I can build this functionality myself, but may be there is
| something already there?
| Thanks,
| Boni
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Strings + vs & 16
format double into string 5
Excel Comparing two columns 1
Where to take cursors 5
GDI+ move scroll zoom 3
weird string problem 1
scroll bar delta 1
Start Process 3

Back
Top