473,574 Members | 2,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

comparing addresses and names

Hi,

I'm looking for an algorithm, better implemented in c#, for comparing names
(of companies, individuals etc.) and addresses.

Thanks,
Daniel
Dec 19 '05 #1
3 2365
Try the String.Compare method.
http://msdn.microsoft.com/library/en...mpareTopic.asp
"Yair Nissan" <ya**@yairnis.c om> wrote in message
news:uc******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I'm looking for an algorithm, better implemented in c#, for comparing
names
(of companies, individuals etc.) and addresses.

Thanks,
Daniel

Dec 19 '05 #2
The String.Compare is quite similar to regular "equal" operation. I'm
looking for an algorithm which would know that "Sun Microsystem" = "Sun
Microsystems" and that "st" = "street" and so on.

Thanks for you help Adrian.

"Adrian Maull" <--@--.net> wrote in message
news:OS******** ******@TK2MSFTN GP11.phx.gbl...
Try the String.Compare method.
http://msdn.microsoft.com/library/en...mpareTopic.asp

"Yair Nissan" <ya**@yairnis.c om> wrote in message
news:uc******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I'm looking for an algorithm, better implemented in c#, for comparing
names
(of companies, individuals etc.) and addresses.

Thanks,
Daniel


Dec 19 '05 #3
Hi,
"Yair Nissan" <ya**@yairnis.c om> wrote in message
news:OC******** *****@TK2MSFTNG P11.phx.gbl...
The String.Compare is quite similar to regular "equal" operation.
I'm
looking for an algorithm which would know that "Sun Microsystem" = "Sun
Microsystems" and that "st" = "street" and so on.

What you are looking is a fuzzy search , google that term.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Dec 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2966
by: Doug | last post by:
I need to compare two "address" structures within a document, and perform some action if they are not equal. The XML document is a purchase order, with an address at both the header and line item level: <Order> <Header> ... other header level stuff ... <Address>
1
1245
by: Lapchien | last post by:
Guys, I have a listing of names and addresses: Line 1 - name Line 2 - street Line 3 - area Line 4 - town Line 5 - town Line 6 - post code Line 7 - null Line 8 - name
6
2093
by: DebbieG | last post by:
I am creating a database for a small department in a university. Each student in their database can have 2 mailing addresses. They wanted mailing labels pulling just the 1st address. No problem. However, now they want a second label for students that have a second mailing address. Any ideas of how I can accomplish this? Thanks in...
7
1702
by: Chéraaar | last post by:
Hi, I have the following problem: In one file (addresses) I have a bunch of lines like this: New 0x8048240 Old 0x0: jne 804824a New 0x8048253 Old 0x0: je 8048293 New 0x80482c7 Old 0x0: jp 80482e0 ....
19
2967
by: Will Lastname | last post by:
In one of the applications that I'm working on I have 2 sets of functions that build different datasets. Imagine 4 columns in a datagrid. Inside those 4 columns I have nested datalists. Two of the datalists' datasources point to database A and the other two point to database B. This effect allows the client to perform a side-by-side...
19
2635
by: Dennis | last post by:
I have a public variable in a class of type color declared as follows: public mycolor as color = color.Empty I want to check to see if the user has specified a color like; if mycolor = Color.Empty then..... or if mycolor is Color.Empty then .......
1
4261
by: Lyle Fairfield | last post by:
Option Explicit ' requires VBScript to be installed ' (maybe don't give this to your sugnificant other as ' it gets deleted addresses as well as current) ' obvious fixups needed '1. how get wab file location ' further development '1. get names too? ' maybe some WABs are encrypted
25
13002
by: J Caesar | last post by:
In C you can compare two pointers, p<q, as long as they come from the same array or the same malloc()ated block. Otherwise you can't. What I'd like to do is write a function int comparable(void *p, void *q) that will take any two pointers and decide whether they can be compared or not. I really can't think how to do this - any...
0
7814
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8075
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8253
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7827
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5632
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2253
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1356
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1072
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.