wrapped up like a birthday present:

<@REPLACE request$author" request$subject" >

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?

Reply via email to