A list of potential field delimiters is automatically generated and shown in
the options pane. Field delimiters separate the
input records produced in the Step 2 into input
fields. Use the options pane to assign a field
delimiter. When working with templates, field delimiters are selected behind the scenes in the template. Field delimiters can not be changed when working with templates, but (provided more than one template is found) the template in use can be changed with similar results. You can have an arbitrary text string as a field delimiter. The following special delimiters are also supported:
To use a single character or a string as a delimiter, simply enter that delimiter: For example:
or
To use multiple delimiters, use the following syntax:
For example:
Each of the three characters above will be considered a field delimiter. If multiple consecutive instances of a delimiter are to be treated as a single delimiter, use the following syntax:
For example, to have multiple <Tab> symbols treated as a single delimiter, use;
To use reserved characters (such as + ( ) < > % ), prepend the character with %:
For example, to have '()+' act as a single delimiter, use:
To use the '%' character as a field delimiter, enter it twice:
Let's consider how delimiters should be set up with respect to different inputs: 1. Regular input record structure with a constant field delimiter 1,10/11/2003,Silver,$200.12,5 Choosing the comma as a field delimiter for the input like that would be sufficient. 2. Regular input record structure with multiple field delimiters or a repeatable character as a delimiter Reasons_D___0 : System Use This sample input contains two field delimiters: an underscore (one or more) and a semicolon ":". The field delimiter will be:
3. Irregular input record structure with tag based field values Author="Aberer, Karl", Title="The Use of Object-oriented Data Models in Biomolecular Databases", BookTitle="Conf. on Object-Oriented Computing in the Natural Sciences",Address="Heidelberg, Germany", Year=1994 You would implement the OnRecord context method to handle the tag based values Function OnRecord 4. No delimiters, position based value extraction 1201770509096001H997677FL01K54052501000250011250092205090108142080000003
00N273589970881159 You implement the OnRecord context method to handle the positional data extraction DictOut.SellerServNo.value = Mid(DictIn.Field.value, 1,
6)
Now we can proceed to Step 4 - Check your output structure. (or go back to Step 2. Setting up a record delimiter.)
|
