Grasshopper

algorithmic modeling for Rhino

I can't seem to get "Substring" in expressions to work in the latest version - it always returns null. Unless I'm doing something stupid I think this is a bug. 

Views: 434

Attachments:

Replies to This Discussion

Interesting - though I can't seem to get it to work even without the third parameter.
Yep, it's totally hosed. Forget about SubString until the next release.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
For the time being I'm using this custom VB.NET component:


the code inside is:
A = s.Substring(i, l)

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service