Data conversion online

Data conversion online
Free file converters for online dataconversion

Data conversion for delimited and text data files Back to: iConv

Locate your file

On your computer:
This data conversion allows you to process a tab delimited data file, and reorder its contents using a simple syntax as an output pattern. Use '$col[0]' to '$col[numberofcolumns-1]' to refer to columns in the input file; use \t for tab. To refer to substrings, use $col[0][2..3] to refer to characters 3 and 4 of the first field. If you want to refer to the entire line, just use an Input Delimiter that is not found in your input file, and you can then refer to the line with $col[0], from which you can select substrings to process a fixed record layout.

Example: say that you want to reorder 5 input fields in reverse order, and add an additional field at the beginning and in front of the second field. The fields will be tab separated again: Someliteral\t$col[4]\t$col[3]\t$col[2]\tOtherliteral$col[1]\t$col[0]

Example 2: print field 3, a space, field 2, a space, and then field 1: $col[2] $col[1] $col[0]

Example 3: interpret the line as a fixed record format, extracting just two substrings from the line, separated in the output with a tab: $col[0][3..7]\t$col[0][0..1]

Parameters: Force Download:      Input delimiter:

Output pattern:


Data Conversion Home             Help            Contact us         Link to us         Rate This Page

Copyright ©2005 iConv.com. All rights reserved.

Links
Diets compared - Overview of most popular diets
The Usenet Archives - Collection of Frequently Asked Questions in HTML format
Charts and tables with factors for Metric Conversion of length, weight and temperature.
Online HTML tools. Verify your HTML, tidy up formatting, check links for validity.
ASCII Table
ASCII to EBCDIC Table

Privacy Policy