FYIO
1. I noticed it already long time ago that the order needle/haystack was not working and after some tests concluded:
The correct order should thus be very easy to remember:
You search for the
'needle' in the 'haystack'
(and of course you do not search for the
'haystack' in the 'needle'
So there you have it.
2. My workaround is to define TSE templates (ending with a dot '.')
e.g.
the TSE template
st.
expands to
StrFind( "<search>", "<contain>", "^biwx$" )
the TSE template
str.
expands to
StrReplace( "<old>", "<contain>", "<new>", "^biwx<any number>$" ) // tags {} are not possible
and so on...
with friendly greetings
Knud van Eeden