what syntax is used to get a wildcard from an attribute

   304   2   1
User Avatar
Member
44 posts
Joined: Dec. 2020
Offline
what syntax is used to get a wildcard from an attribute when using a split node?

I would like to grab specific prims that have a specific word mixed into there name..

eg contains the word "cottage"
NAME....
summer cottage
cottage farm
flower cottage farm

I don't know how to call a wild card with a split node?
can anyone help?
User Avatar
Member
44 posts
Joined: Dec. 2020
Offline
@name="* cottage" seems to be the answer if the word that is wanted is at the end but I want to grab it in any position and any capitalization???
Edited by Getyamamout - Sept. 4, 2024 09:39:49
User Avatar
Member
29 posts
Joined: Nov. 2016
Offline
You could use
@name=*[Cc]ottage*

https://www.sidefx.com/docs/houdini/vex/functions/match.html [www.sidefx.com]
Edited by gorrod - Sept. 4, 2024 18:38:30
  • Quick Links