looking for a code to add data

Discussion in 'Scripting' started by Dee, Apr 22, 2009.

  1. Dee

    Dee Guest

    Hi

    I'm looking for a sample code to add some small amount of repeated data
    before and after some names in a text file.

    Example

    the list is

    a
    b
    c
    d


    I want to add

    test a today
    test b today
    test c today
    test d today


    any pointers would be great

    D
     
    Dee, Apr 22, 2009
    #1
    1. Advertisements

  2. Dee

    Dee Guest

    thanks, will give it a go
    --
    Dee


     
    Dee, Apr 22, 2009
    #2
    1. Advertisements

  3. Dee

    Dee Guest

    It worked a treat, thanks again
    --
    Dee


     
    Dee, Apr 22, 2009
    #3
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.