← All ideas
  • Published 11 May 2022

Split String Geometry Node

A node that splits a String at an indicated divider, outputting a String from the created list at an indicated integer.

As an example:

inputString = "cake#tart#muffin#brownie"

divider= "#"

list = inputString.split(divider)

segment = 2

outputString=list[segment]

This would output the String "muffin" assuming python counts starting at 0. split_String.png

100%

Development Status: Open

Upvote 7 Downvote 0
screenowl
11 May 2022

2 Comments

pitched

I know I'm two years late, but because this function isn't part of main Blender yet, I made it as a node group ibb.co/9nZ03kf

You can find the download on my gumroad page: pitched.gumroad.com/l/svwvt

Hope that helps a few people, who may need that node

modormoder

You are still working with static constants