I have a text file that includes different lines and an each line there is some elements divided by a comma (,):
What I want is that, I would to load that text file and then cut each element after the third character. So, the final result should be something like this:
As you can see the above result is cutting each element (the elements divided by comma ,) and then rewrite the output data to the same file.
Thanks in advance