Good morning everyone 🙂
I'm trying to edit a TXT that have blank spaces, which MUST exist. The TXT file contains this type of structure:
As you can see, each blank space represents a position(In the example Sel: 3, means 3 positions) and the file contains plenty of them.
I tried separating each array of empty spaces with commas, to use it as delimiters in the input tool and it did work out. However, when I try to output this information, as a TXT, the array of empty spaces are not outputed.
I know there is a workaround which would make me put in the blank spaces the number "0" and at the end substitute each "0" for an empty space. That works as well, but I have nearly 500 lines so that makes the work impossible to finish.
Is there any solution for this?
Thanks!
Solved! Go to Solution.
I do not find evidence that the spaces actually contain three positions. When I open your file in UltraEdit, I only see one position reflected as being selected.
Also, I could not tell from your post what your desired output is. Please reply with an example of the desired output.
Hi!
Still have problems with the output file.
Still being outputed like this:
The correct would be like the Desired output, attached to this reply.
Is it possible to solve this? I have nearly 500 lines that have way more empty spaces than this file, some with 10, 6 blank spaces.
Thanks!
it's very strange that when i compare the output is identical to the preview. I attached here the package file, probably something is not right with your output settings.
Also, I think everyone in the community is trying to be helpful to each other as fellow community members. If you don't get the exact thing that you hope to produce, it is probably worth pondering why / what to fix instead of asking whether it can be done.
Cheers,
Dawn.
DawnDuong,
My intention was not to be rude, maybe I chose the wrong words. I apologize for that.
I will create another post trying to be more simplistic and give all details about the issue I'm having with the TXT file.
For instance, I would be very happy if you could try to help me out there as well, your help is very appreciated 🙂
Thank you
No worry.
I'm just curious, isn't the output identical when you run the workflow I attached.
It is identical (as shown in the screenshot) when i ran on my laptop.
Cheers,
dawn.
It's almost identical except for the end of line one.
There is this "00000001" at the end which has almost 151 blank spaces before it.
The output file should respect all those 151 blank spaces
Thanks 🙂
Ah, the output has the hundreds of trailing spaces... see below. I revised the workflow so that it writes to .csv instead.