Hey folks,
Is there a way in vex to search for matching characters on a string? To clarify further, let's say I have a bunch of prims with an @path attribute that reads /foo/bar/box, /foo/bar/circle, /foo/bar/torus, etc
Now in a wrangle node, I'd like to parse through the string and see if the word “box” exists in @path.
Thanks!
search for matching characters in a string
3998 1 0- trojan_goat
- Member
- 41 posts
- Joined: 6月 2010
- Offline
- Enivob
- Member
- 2625 posts
- Joined: 6月 2008
- Offline
Check out the match function.
http://www.sidefx.com/docs/houdini16.0/vex/functions/match [sidefx.com]
http://www.sidefx.com/docs/houdini16.0/vex/functions/match [sidefx.com]
Edited by Enivob - 2017年3月10日 19:58:28
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
-
- Quick Links