Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEADone!
Here's my solution!
I had Input Data Tool do all the parsing work 😀.
(https://help.alteryx.com/current/en/designer/file-types-support/flat--ascii--files.html)
<flatfile version="1">
<file
path="Input.txt"
eoltype="crlf"
trimWhiteSpace="t"
allowShortLines="t"
/>
<fields>
<field name="Account No." type="String" length="10" />
<field name="Name" type="String" length="16" />
<field name="Fake Identity" type="String" length="11" />
<field name="Date" type="Date" length="10" />
<field name="Action" type="String" length="14" />
<field name="Amount" type="Double" length="7" />
</fields>
</flatfile>
Thanks all
hmmm looking at the other answers I probably should have used a dynamic rename, but opted to not bother :P