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 


search and replace problem
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Mar 21, 2003 7:49 am    Post subject: yea Reply with quote

yea i keep saying that to myslef to but with all the post i have done you would think i would have this down by now Sad AND i know what you guys are thinking when you see a post by me...."oh great its tim again" Sad
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Fri Mar 21, 2003 7:53 am    Post subject: Reply with quote

No one that I know of thinks like that Tim. And you shouldn't be so hard on
yourself. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2150
Location: A House

PostPosted: Fri Mar 21, 2003 7:55 am    Post subject: Reply with quote

Heheheheheeee Twisted Evil

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Mar 21, 2003 8:02 am    Post subject: thanks Reply with quote

lol - well there are a few that do (i bet) Wink hhehehee

well thanks again for the help i will play with it some more...

anyways if you guys are wondering what thread i stoled the code from it came from here:

http://www.vdsworld.com/forum/viewtopic.php?t=476&highlight=search+replace


Smile

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2150
Location: A House

PostPosted: Fri Mar 21, 2003 8:26 am    Post subject: Reply with quote

Tim, I'm just having fun with you now. You're not asking too much this time. In your first few months you may have asked a few too many questions, and it seemed as if you were taking advantage of the people here, but you've continued to stay here, you slowed down on your questions and I think you've tried to help others now and then. I think you've done very well since.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Mar 21, 2003 11:53 pm    Post subject: Reply with quote

Garrett - yea i was hoping you were kidding...heheh and yup i'am here to stay...hehheh I try to help out if i know the answer i just dont want to give the wrong info.. Smile
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Mar 22, 2003 5:25 am    Post subject: grrrrrrrrrrrrr Reply with quote

i'am getting close BUT still can't get it to work right ............grrrrrrrrr

that c = is what i can't get right...it stilll prints out info that i don't want in there Sad

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 22, 2003 5:29 am    Post subject: Reply with quote

Hi Tim,

Try changing the "8" to "@len(%N)" and see if that doesn't help. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Mar 22, 2003 5:37 am    Post subject: ok Reply with quote

ok the problem is it does this:

when i have "info %c" there so i can see what is going on i get this:

tim.TXT- 1111 2222 2222 12222

the data is right bUT the tim.txt should say tim-del: then the data Sad

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 22, 2003 5:43 am    Post subject: Reply with quote

lol, sorry Tim, guess it's my fault. Replace this line:
Code:

%C = @substr(@item(5),@pos(%N,@item(5)),@sum(@pos(%N,@item(5)),8))


With this one:
Code:

%C = @substr(@item(5),@sum(@pos(%N,@item(5)),8),@len(@item(5)))


Try that and let me know what happens. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Mar 22, 2003 5:47 am    Post subject: well Reply with quote

btw - not your fault mine cuase this string is hard for me to fully understand Sad

anyways well that took out all of it only thing i get is the data Sad


meaning this

:1111 2222 3333

nothing in front of it Sad

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 22, 2003 5:53 am    Post subject: Reply with quote

I used the script you posted one the first page of this thread. Try this:

Code:

info @item(5)


You're looking at the wrong piece of data. All you've been looking at is the substring.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Mar 22, 2003 5:58 am    Post subject: ok Reply with quote

BUt for a list put i have %r and %c tho , so that what will be written to file
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 22, 2003 6:00 am    Post subject: Reply with quote

Did you try what I suggested?
_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Mar 22, 2003 6:01 am    Post subject: no Reply with quote

no i did not i was just thinking sorry.....trying it now
_________________
Have a nice day Smile
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 -> General Help All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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