extract numbers from string

   3347   1   0
User Avatar
Member
1 posts
Joined: Dec. 2020
Offline
Hi... I'm trying to extract a number from a string, the case goes like this... I need to process a series of named primitives and the data for the operation is in the name, something like:

if primitive name is primitive_23x, scale the primitive in a factor of 23

PS: the geometry is imported so I have no control over its generation.
User Avatar
Member
9416 posts
Joined: July 2007
Online
https://www.sidefx.com/docs/houdini/vex/functions/opdigits.html [www.sidefx.com]
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links