Jump to content

VEX string functions


Jordan Walsh

Recommended Posts

Is there any functions for dealing with string manipulation? find, replace etc. I cant seem to find anything in the docs

I can do everything I need in python, just wanted to be able to do similar things in VEX. Also I'm assuming it would be quicker in vex than in python to manipulate string attributes on points, correct?

Link to comment
Share on other sites

  • 3 years later...

Stumbled across this thread, although I don't see the answer to the original question. How do I replace a string with another string in a string (e.g. change ../shop/.. to ../shopnet1/.. in the material path).

Since there is no replace I tried to use re_replace. Not working unfortunately. What do I miss here?

Cheers
Tom

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...