Hello Leonid,

On Tuesday, August 21, 2001 at 11:16:35 AM you wrote (at least in part):

LI> Hi,

LI> I have created quick template with string:

LI> --- cut ---
LI> mailto:[EMAIL PROTECTED]?subject=This%20is%20a%20test
LI> --- paste ---

LI> however,  after  actuation of a template following string was added to
LI> the text:

LI> mailto:[EMAIL PROTECTED]?subject=This20is20a20test

LI> That   is - all characters of percents have disappeared. Similar, it's
LI> a bug.

It's not a bug, it's a feature *ggg*
This is the same old game with special characters ...
'%' introduces a macro.
If you want to use the character '%' you have to use the macro '%%'
This way your string have to look like this:

mailto:[EMAIL PROTECTED]?subject=This%%20is%%20a%%20test

It's the same as in regular expresions: '\' introduces a special character
like '\n' tells: "look for newline" instead of look for '\' followed by 'n'
... to search for '\n' as string you have to use '\\n' ... in other words: you
must escape the escape character :-)

HTH Pit
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.54 Beta/7 on Windows NT 5.0 Build 2195 Service Pack 2)

Like many of the finer things in life, sex often comes with a side of fries.

-- 
______________________________________________________
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to