Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
how to compare 2 physical/mailing addresses?

i need to compare 2 addresses(physical address and mailing address) and i converted javascript address objects into string using JSON.stringify(address) and then comparing but some times physical address or mailing address coming with suffix postal code. for example physical address coming like this

{addressLine1: '999999 HAMILTON DRIVE', city: 'OLD LYME', state: 'CT', postalCode: '06371'}

and mailing address coming like this

{addressLine1: '999999 HAMILTON DRIVE', city: 'OLD LYME', state: 'CT', postalCode: '06371-1202', country: 'US'}

my Question is is it mandatory to compare postal code , can't we compare the US address with just street address , city and state ?

or we can split the psotal code and take off the suffix and then compare but are there any other ideas ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!