View previous topic :: View next topic |
Author |
Message |
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Wed Nov 14, 2012 1:41 pm Post subject: UpdateCSV in string.DLL |
|
|
Not sure if I understand how updateCSV works. Does it work on the whole file or just one row of text. Does anyone have any examples of how it works
Thanks in advance _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
Dr. Dread Professional Member
Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Nov 14, 2012 9:07 pm Post subject: Re: UpdateCSV in string.DLL |
|
|
arcray wrote: | Not sure if I understand how updateCSV works. Does it work on the whole file or just one row of text. Does anyone have any examples of how it works
Thanks in advance |
Hi there!
UpdateCSV works on a single line of character-separated content. You can update, rearrange, or remove the single fields/cells.
You may combine with
FileOps-> MatchLines to find lines to be manipulated
FileOps-> GetLines to extract the line you want
and FileOps-> SetLine to put the changed line back into the file.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Thu Nov 15, 2012 9:36 am Post subject: Re: UpdateCSV in string.DLL |
|
|
Sorry, being dull. I still don't quite get it. Do you have some example code I could look at?
Cheers! _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
Dr. Dread Professional Member
Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Nov 15, 2012 8:56 pm Post subject: |
|
|
Hey. I'm a bit pressed for time these days. But if you try to do a simpel INFO on the help file example you should get the picture.
info @string(UpdateCSV, "A;B;C;D;E;F;G", "¤1|¤3|¤5||new contents|¤2", ";")
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
Back to top |
|
|
|