Some days ago I posted a new topic to the old server (www.microcal.com) that I can not find anywhere now, so I'll try to repeat it.The documented use of the substring notation is as follows:
If I command
%a=John Smith;
type %[%a,"it"];
I get
John Sm
as "John Sm" is the part of the string %a that comes before the first occurrence of "it" substring.
But if I command
%a=John Smith;
%m="it";
type %[%a,%m];
I get nothing! This would be interesting if I want, for instance, to ask the user for the substring %m to look for, and in many other cases. But it seems impossible to me to get the desired result! Any idea?
jose.