Difference between revisions of "Padded Text Writer"
From PresenceWiki
Line 2: | Line 2: | ||
This Node converts a Data Table into a padded text file with each field value placed at the same character position on each line. For example the following data: | This Node converts a Data Table into a padded text file with each field value placed at the same character position on each line. For example the following data: | ||
+ | |||
+ | {| border="1" cellspacing="0" cellpadding="5" align="center" | ||
+ | ! Name | ||
+ | ! Country | ||
+ | |- | ||
+ | | Graham Roberts | ||
+ | | United Kingdom | ||
+ | |- | ||
+ | | Paul Rebane | ||
+ | | United States | ||
+ | |- | ||
+ | | Basil Prescott | ||
+ | | United Kingdom | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | Would be formatted as follows: | ||
+ | |||
+ | Name Country | ||
+ | Graham Roberts United Kingdom | ||
+ | Paul Rebane United States | ||
+ | Basil Prescott United Kingdom | ||
+ | |||
+ | === Options === | ||
+ | |||
+ | http://www.international-presence.com/wikidocs/images/padded_text_writer_options.png | ||
+ | |||
+ | For additional options, click the "Padded Text Writer Options" button. | ||
+ | |||
+ | * '''Maximum Field Width''' This is the maximum field size - default is 50 characters. | ||
+ | * '''Minimum Space Between Fields''' This is the smallest number of space characters that should appear between field values. | ||
+ | * '''Space Between Rows''' If true, a newline will be placed between rows of data in the output. | ||
+ | |||
+ | < Back to [[Task Elements]] |
Revision as of 12:18, 20 January 2010
Padded Text Writer Node
This Node converts a Data Table into a padded text file with each field value placed at the same character position on each line. For example the following data:
Name | Country |
---|---|
Graham Roberts | United Kingdom |
Paul Rebane | United States |
Basil Prescott | United Kingdom |
Would be formatted as follows:
Name Country Graham Roberts United Kingdom Paul Rebane United States Basil Prescott United Kingdom
Options
http://www.international-presence.com/wikidocs/images/padded_text_writer_options.png
For additional options, click the "Padded Text Writer Options" button.
- Maximum Field Width This is the maximum field size - default is 50 characters.
- Minimum Space Between Fields This is the smallest number of space characters that should appear between field values.
- Space Between Rows If true, a newline will be placed between rows of data in the output.
< Back to Task Elements