Search results for query: *

  1. N

    Remove substring in line when neither starting nor ending position is known

    Hi JohnH, I like this idea much better than trying to modify each line in a certain place. Only one problem; the input files contain multiple lines and a read with a for each statement as shown below (then reads the conditions from the database): foreach (var line in...
  2. N

    Remove substring in line when neither starting nor ending position is known

    I'm copying the line from the input file: 29K|375|48625|NOK SPA|3811241496|S|888|None|10/10/2014 Then pasting the line into a separate output file: 29K|375|48625|||888|None|10/10/2014 So values NOK SPA, 3811241496, and S need to be removed in the output file, and the "|" stays. Which lines...
  3. N

    Remove substring in line when neither starting nor ending position is known

    The database copies a line from an input file. This line might look like this, separated by the delimiter "|": 29K|375|48625|NOK SPA|3811241496|S|888|None|10/10/2014 Then it is copied into an output file. In the output file though, several fields need to be removed (but the delimiters kept in)...
  4. N

    Remove substring in line when neither starting nor ending position is known

    I have a C# application that, depending on certain database conditions, creates a new file, opens it, and writes a record from an input file into the file. Each field in the record is separated with an "|", and certain conditions require a new file to be opened, an input file read, and copied...
Back
Top Bottom