GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

String Manipulation between 2 text files

   Click here to post similar project

String Manipulation between 2 text files is project number 301007 posted at GetAFreelancer.com. Click here to post your own project.

Status: Closed (Selected Service Provider)
Selected Providers: selected service provider diy286
Budget: $30-250
Created: 08/15/2008 at 11:28 EDT
Bidding Ends: 10/14/2008 at 11:28 EDT
Project Creator: alcheech View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
Description: Simple string substitution: There are 2 files: One is the string_replace_file and the other is work file. The string_replace_file is a text delimited file with 2 records like the following:

220268720072,8811-001 ($9.95 w/ S&H) ORIG. TRANS

From this file the program will grab both and place them into variables. The first variable will have everything up to the first comma: replace_var (in this case: 220268720072). The second variable is up to from the character after the comma to the first blank and this is called the find_var (in this case 8811-001.

The program will then open the work file: Here is a sample record:

thumbnail(1, "", "8811-001-pinupsonfilm.htm", "8811-001-pinupsonfilm_thm.jpg", 300, 249, "8811-001-PinupsOnFilm.jpg")

With the find_var it will search for the first instance of the find string (in this case 8811-001) and replace EVERYTHING in the quotes from this first instance with the replace_var.

Here is the final record:

thumbnail(1, "", "220268720072", "8811-001-pinupsonfilm_thm.jpg", 300, 249, "8811-001-PinupsOnFilm.jpg")

There may be some records in the work_file that may not be replaced as there are no values found in the search and replace file. To run the program it would be nice to put the program name followed by the work_file and then the string_replacement_file like this:

findreplace <work_file> <string_replace_file> if the parameters are not present the program will ask for them. Attached are the files




Additional files submitted:
work_file
string_replacement_file
final_file
Report violation
Job Type:
  • C/C++
  • Excel
  • Perl/CGI
  • PHP
  • Visual Basic
Database: (None)
Operating system: (None)
Bid count: 68
Average bid: N/A

 

Related project
 
Park Venue Featured
posted by iqeq
Budget: $30-250
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 1

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
Bids are hidden by project creator. Log in as project creator or bidder as the project creator or as one of the bidders to view bids.
Bid on This Project

 

[ EU Freelance ] [ View All Projects ] [ Freelance ]

What is GetAFreelancer.com? ( Read about the company )

GetAFreelancer.com is one of the largest sites of its kind. We have earned a good reputation and you can trust us. It's easy, fun and very affordable to outsource your project with our site. Deposit money and don't purchase until your project is completed.

Outsourcing is the process of subcontracting network operations and support to an organization outside your own company. Try it free today! Companies of any size have used our web services. Web Development doesn't have to be expensive. Outsourcing will cut your expenses by more than 50%. If you never tried to contract work to another part of the world you have your chance today. Sign up free! Our mission is to find the best possible freelance workers at the best possible price. Would you like to outsource your next project? Would you like to make money as a freelancer? Click Sign Up to start!

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.