The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add text at the end of each line ... HELP !
#1
Hello !
I need help for create a macro that adds a word to the end of each line in a txt file.

Here an example:

Original txt file
qwer,asdf,zxcv,,,
xcvb,sdfg,wert,,,
erty,dfgh,cvcvb,,,

New file with word "test" added to all line:
qwer,asdf,zxcv,,,test
xcvb,sdfg,wert,,,test
erty,dfgh,cvcvb,,,test

The file I have to process is composed of over 10 thousand lines.
I can do it even with a "command batch" in a Prompt Windows but, since
the file is generated by QM, I would prefer to have QM do everything.

Any suggestion ? 

Thanks in advance !


Messages In This Thread
Add text at the end of each line ... HELP ! - by asgro - 04-25-2019, 01:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)