in Blast nodes you can use wildcards * all over the place
eg. @name=*something
will kill anything with "something" in it's name attribute. It's a little different when you want to select things in this manner in a wrangle. We use the "match" function to do this-
if(match("*stick*",@name)){
s@value="yeah!";
}
Here we look for the string "stick" in the attribute "name". On success, we make "value" equal to "yeah!".
No comments:
Post a Comment