Reading Text file
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi community,
I am trying to read the text file but i not sure how to apply text to column in this case .Would like to ask for help as per attached file
Many thanks
Solved! Go to Solution.
- Labels:
- Common Use Cases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hey @SH_94
Do you have a sample of what the output should look like?
It looks like for the most part your file is tab delimited, but the pattern doesn't seem to be applied consistently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @gautiergodard ,
Yes..Kindly find the expected output below for your reference. The text file is extracted from SAP system and not sure why it is in this inconsistent format.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@SH_94 here is what i used:
If the file was properly formatted, usually you should be able to put "\t" variable in the delimiter field instead of the "\0" you see in my screenshot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @gautiergodard .
Would like to confirm on the concept for the \0 .If \0 means no delimiter being chosen?
Many thanks for the workfow and it give me idea on how to read the inconsistent data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
That’s correct @SH_94
When you select “none” in the second screenshot I provided, it updates the delimiter to \0
tab = \t
space = \s
so on and so forth, you can see delimiter options at the link below.
