1)
A thing which you had promised is missing:
result:=result+xtpl(p, [ '%bread-url%',e,'%bread-name%',ad[i
],'%bread-idx%',inttostr(i) ]);
2)
thank you for: tpl-editor=C:\Programmi\PSPad editor\pspad.exe
3)
By wanting to make court, you did not envisage all the eventualities, put one # in the middle of a filename and creating md5 which is associated with him, and then try to delete this file by using the template by default.
by example, rejetto#maximo.bad cannot be destroyed
the good code
s:=getTill(
'#!md5', decodeURL(data.postvars.valueFromIndex
)); // omit #anchors
4) Out of necessity: here are three new macros to add to the next build
if name = 'is substring' then
trueIf(ansiContainsText(par(1), p));
if name = 'count substring' then
result:=intToStr(countSubstr(pars[0], par(1)));
if name = 'pos substring' then //mars 2009
result:=inttostr(pos(pars[0], par(1)));
if name = 'chop start' then //mars 2009
begin
result:=par(1);
result:= chop(pars[0], result);
end;
if name = 'chop end' then //mars 2009
begin
result:=par(1);
chop(pars[0], result);
end;
if name = 'and' then
allLogic(TRUE);
'{.pos substring|rejetto| On the forum, rejetto is the absolute boss .}' return '15'
'{.chop start|rejetto| On the forum, rejetto is the absolute boss .}' return 'On the forum, '
'{.chop end|rejetto| On the forum, rejetto is the absolute boss .}' return ' is the absolute boss'
On the forum, rejetto is the absolute boss......
But in the sources of hfs, Mars will defend his beefsteak