Z
Zoe Phoenix
I have a text file that I want to add some content to, but I'm not sure
how to use the file as input. I have a list of things in the file that
is formatted like
item1 | item2 | item3 | item4 |
and etcetera... How can I take these items and put each of them on a new
line, minus the "|" and add a certain phrase afterward? Like:
item1 [phrase]
item2 [phrase]
item3 [phrase]
Is there a simple way to do this? I've taken lists of things like this
before and added text to it, but I put all of the items in an array
manually first... would someone show me a faster way, please?
how to use the file as input. I have a list of things in the file that
is formatted like
item1 | item2 | item3 | item4 |
and etcetera... How can I take these items and put each of them on a new
line, minus the "|" and add a certain phrase afterward? Like:
item1 [phrase]
item2 [phrase]
item3 [phrase]
Is there a simple way to do this? I've taken lists of things like this
before and added text to it, but I put all of the items in an array
manually first... would someone show me a faster way, please?