Reviving this thread because String.ToTitle is no longer included in the latest version of Rhythm with Dynamo 2.0.2. Seems like @60secondrevit is planning to re-release this node, but not sure when exactly.
Are there any workarounds available? I’ve tried creating my own script for changing all text to Title Case using a python node with “OUT = IN[0].capitalize()” but it seems to only work when I split the list into individual items. This would require manually connecting hundreds of list items which is counterproductive.
for string in a:
ind = -2
newstring = ""
for i, char in enumerate(string):
try:
if isinstance(int(char),int):
ind = i
newstring += char
except ValueError:
if i == ind + 1:
newstring += char.lower()
else:
newstring += char
b.append(newstring)