vex: check for numbers in string?

   305   1   0
User Avatar
Member
1007 posts
Joined: April 2017
Offline
Hi!

I can already check each letters of a string to verify if I find numbers but in complicated script. Is there a function that does exactly that?

-Olivier
User Avatar
Member
8555 posts
Joined: July 2007
Online
for integer numbers you can use
https://www.sidefx.com/docs/houdini/vex/functions/opdigits.html [www.sidefx.com]

for multiple separate numbers or more complex patterns like float numbers you can use regex functions with patterns fitting your needs
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links