For the complete documentation index, see llms.txt. This page is also available as Markdown.

Parse

Parse Fixed Width data to object.

Task version: 1.0.2

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

FlatFileContent : String

Fixed width flat file content in string format.

Default: - Example: Name Street StartDate Veijo FrendsStr 20180527 Hodor HodorsStr 20180101

HeaderRow : HeaderRowType

None: Flat file does not contain header row

FixedWidth: Header row is parsed using column specification

Delimited: Header row is parsed using delimiter char

Possible values:

  • None: None: Flat file does not contain header row

FixedWidth: Header row is parsed using column specification

Delimited: Header row is parsed using delimiter char

  • FixedWidth: None: Flat file does not contain header row

FixedWidth: Header row is parsed using column specification

Delimited: Header row is parsed using delimiter char

  • Delimited: None: Flat file does not contain header row

FixedWidth: Header row is parsed using column specification

Delimited: Header row is parsed using delimiter char

Default: 1 Example: HeaderRowType.FixedWidth

HeaderDelimiter : String

If header row uses delimiter set it here.

Default: - Example: ;

ColumnSpecifications : ColumnSpecification[]

Column specifications for the data that is being parsed.

Default: - Example: [ Example, ColumnType.String, yyyy-MM-ddTHH:mm:ss, 5 ]

Name
Description

SkipRows : Boolean

Enables skipping of data rows.

Default: False Example: false

SkipRowsFromTop : Int32

Count of data rows to skip from top.

Default: 0 Example: 0

SkipRowsFromBottom : Int32

Count of data rows to skip from bottom.

Default: 0 Example: 0

Task Result

Name
Description

Data : List<Dictionary2>`

Parsed fixed flat file data. Example: {[ Name, Foo ], [ Street, Bar ]}

Task Changelog

Changelog for Task Frends.FixedWidthFlatFile.Parse.

[1.0.2] - 2023-08-08

Changed

  • Documentational changes.

[1.0.1] - 2023-06-13

Changed

  • Documentation updates.

[1.0.0] - 2022-03-24

Added

  • Initial implementation

Last updated

Was this helpful?