Well, I has seen issues where a space was encoded as a hard-space (255) and not (32).

So you looke at it in debug and you are scratching your head.

“Hi There” doesn’t match “Hi There”

It kind depends on what wrote the file in the first place

Like coping and pasting from a webpage can have some unexpected pitfalls

 

I have use @Replace a lot and found that it work well, if there is an issue, it needs to get reported back to With.

I don’t have one of your files so it is hard to answer this question

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From: Roland Dumas [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: @REPLACE

 

never mind. I gave up on @replace and found another way. It was not reliable when strings are in variables. worked sometimes and not others.

On Thursday, July 24, 2003, at 03:41 PM, Ben Johansen wrote:

Sorry, Is this a Question or a Statement?J

 

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From: Roland Dumas [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: @REPLACE

 

wrapped up like a birthday present:

<@REPLACE STR="@@request$author" FINDSTR="@@request$subject" REPLACESTR="">

I can substitute the actual text in for the variable, and it will work.

On Thursday, July 24, 2003, at 02:59 PM, Ben Johansen wrote:

Wrap it in quotes…

FINDSTR=”@@request$tidbit”

 

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From: Roland Dumas [mailto:[EMAIL PROTECTED]
Sent:Thursday, July 24, 20032:55 PM
To:WiTango List
Subject: Witango-Talk: @REPLACE

 

I have a string that's in a variable. I want to do some string editing on it.

<@REPLACE STR=@@request$mystring FINDSTR='This string' REPLACESTR='That string'>

works just fine, but when I use a variable in the FINSTR argument, it does nothing

<@REPLACE STR=@@request$mystring FINDSTR=@@request$tidbit REPLACESTR='new string'> doesn't work

Yes, the string I'm looking for exists and is a part of the STR. Are variables disallowed?



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to