About Delimitation |
Most database and spreadsheet programs can read or save data in a delimited format. When you delimit values, you can search for, access, and retrieve data from any delimited field in the text file.
You can use any character to separate values in a text file, but the most common delimiters are the comma (,) and colon (:). The vertical bar or pipe character (|) and tab are also sometimes used.
Comma-separated values resemble the following:
Size,Weight,Length,Width,Depth
Colon-separated values resemble the following:
Size:Weight:Length:Width:Depth
Quotation marks can be used in delimited files to include a delimiter inside a field value. For example, if your field value is an address that contains a comma, you can use quotation marks to indicate that the comma is part of the field value and not a delimiter, as in the following example:
FirstName,LastName,Address,Region
Jane,Smith,"1234 Main Street, Mytown, Mystate",East
You can also use two quotation marks to enclose a quotation inside a field value, as in the following example:
Name,FamousPhrase
Muhammad Ali,"At age 22, Ali, who was then called Cassius Clay, said, ""Float like a butterfly, sting like a bee."""
To select an alternative delimitation method
Related Topics