Hope I can get help from the experts on how to add a comma to the end of a text line.
I did a serarch for "add comma" and got 1024 hits. Found one post but it didnt answer what I want to do.
I have a notepad text file of a list of words. One word on each line.
Example:
word1
word2
word3
I want to convert the entire file which could have 100's of words to a single string with a "comma" in between each word. So the results for above example would look like this:
word1,word2,word3
If there was some character I could see at the end of each line, I would be able to solve it - sorry for not being techinical and not knowing what value (if any) is at the end of each line.
thanks in advance
Help with adding a comma to the end of a text line
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
thanks for the help
Excellent - thanks for the help