+ Reply to Thread
Results 1 to 5 of 5

Thread: Simple script to modify csv file

  1. #1
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    211
    Rep Power
    4

    Simple script to modify csv file

    Hi All,

    I have a long CSV file that has the follow fields

    Name
    Area Code
    Number

    I need to join the area code and the number together so the csv is just two fields...

    anyone got a bit of code lying around they want to send my way???

    Or actually I would like to learn how to do it because then I can do similar things in the future. I can do it in PHP but would rather do a windows based one if I could...

    Cheers,

    Graham.
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  2. #2
    Super Sarcasm Mistress mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere's Avatar
    Join Date
    Mar 2008
    Location
    Wide Awake In Dreamland
    Posts
    830
    Rep Power
    8

    so you just need to rewrite the .csv file? or are you doing something with the .csv file, like importing it to a database or something?
    Quote of the Month:
    INSIGHT: When the going gets tough, the tough get going. The smart left a long time ago.

    Questions to Ponder:
    Are people more violently opposed to fur rather than leather because it's much easier to harass rich women than motorcycle gangs?

    iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
    copyright © 2008 sbenj69

    Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.

  3. #3
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    211
    Rep Power
    4

    Quote Originally Posted by mehere View Post
    so you just need to rewrite the .csv file? or are you doing something with the .csv file, like importing it to a database or something?
    Hey Mehere...very simply just wanting to merge the two fields of the .csv file. I will then important it into a fax program but that will be a manual process and nice and easy if the fax number is one field.
    ...

    thanks,

    graham.
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  4. #4
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    211
    Rep Power
    4

    anyone got any thoughts on this one??
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  5. #5
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    211
    Rep Power
    4

    turns out I don't need a clever script!

    =A1&B1 does the trick!!

    I am obviously too used to complicate things!!!
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

+ Reply to Thread

Similar Threads

  1. Simple Task
    By rivergum23 in forum Microsoft Access
    Replies: 6
    Last Post: May 30th, 2009, 11:07 PM
  2. altering a script
    By Shem in forum JavaScript Programming
    Replies: 2
    Last Post: May 18th, 2009, 10:23 AM
  3. Simple code works in IE, but not Firefox
    By MichaelP in forum ASP Development
    Replies: 3
    Last Post: April 30th, 2009, 08:03 PM
  4. Simple way to email form
    By Rebelle in forum ASP Development
    Replies: 17
    Last Post: August 14th, 2008, 05:03 PM
  5. Basic Login Script (using MS Acesss)
    By BLaaaaaaaaaarche in forum ASP Code Samples
    Replies: 0
    Last Post: March 24th, 2008, 05:50 PM

Bookmarks

Posting Permissions

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

SEO by vBSEO