Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    May 2005
    Location
    Argentina
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    are you gonna make an attempt to code this for yourself, or are you practically requesting we do it for you. this a forum for users to seek help, not a place to demand off-the-shelf scripts. what your asking for is relatively complicated, so it's kinda unfair to be asking someone to code this for you unless you're willing to pay - my rate is £50 per hour.

    anyway, to kickstart your script, you need to split up the textarea's value into lines. to do this, look for the new line character and split the string on that. this will generate an array. then loop round that array, comparing each line with the next, and if each line starts the same, then delete that line (key) from the array. do this till all keys have been iterated over.
    *keep it simple (TM)

  • #3
    Regular Coder
    Join Date
    Feb 2005
    Posts
    400
    Thanks
    0
    Thanked 0 Times in 0 Posts
    £50 per hour? Must be all those verbs you use.

    To get this post on-topic...once you've split it into separate lines, I suggest parsing the addresses (at least partially) using one of the many script posted in these forums. This will allow elimination of non-exact duplicates (http://yahoo.com/ versus http://www.yahoo.com/ versus https://yahoo.com/).

  • #4
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not sure of the current conversion rates but my rate is $120.00Us @hour...

    BTW: Jbot... Don't forget that you will first need to sort prior to comparing...
    (oh, and there's two t's in Duitt)...

    .....Willy

    Oh, I have also seen this exact question asked elsewhere so if you are going to script this for free, be sure to check that someone else has not already provided the script...

  • #5
    New to the CF scene
    Join Date
    May 2005
    Location
    Argentina
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have already the script!

    Jkrzysztof

  • #6
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by josefkrzysztof
    I have already the script!

    Jkrzysztof
    Then why don't you share the solution for others whom may have the same question....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •