Howdy Robert,
On Jan 21, 2007, at 11:14, Robert Mann wrote:
Don't think I am getting the syntext correct this is returning nothing
matchText("tword1","^tword$")
tword1 and tword are both variables
Yep for the second argument to the matchText() function, you need to
construct the regular expression so that it contains "^" as the first
character, followed by the contents of your variable, followed by the
"$" character. In RR you can concatenate strings with the "&"
operator, so you could do something like this for your second argument:
"^ & tword & "$"
For your first argument, you would just your tword1 by itself. If
you put it in quotes like in your example, you are matching the
literal string "tword1".
--g
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution