forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


UpdateCSV in string.DLL

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Wed Nov 14, 2012 1:41 pm    Post subject: UpdateCSV in string.DLL Reply with quote

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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Nov 14, 2012 9:07 pm    Post subject: Re: UpdateCSV in string.DLL Reply with quote

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
View user's profile Send private message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Nov 15, 2012 9:36 am    Post subject: Re: UpdateCSV in string.DLL Reply with quote

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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Nov 15, 2012 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group