Maximum String Length

What is the maximum number of characters that a String can hold in Dynamo?

Thanks!

A really big number of characters. I have pasted entire plays from Shakespeare into the string node, and accessed the same in HTML format using the web request.

Downstream functions get slow, and all the gpu in the world won’t help you if those previews get expanded, but if you’re patient you’ll be surprised at how large a data set it can handle.

Thanks Jacob, I’d had a problem where I needed to count the number of occurrences of each unique item in a list. I’d found a solution here that involved concatenating the items into a string and using string nodes to count the instances within that string. My string could have been very large.

Seems that today the same thing can be done using List.AllIndicesOf, without such a klugey intermediate step.

1 Like