Grasshopper

algorithmic modeling for Rhino

hi, how can i compare two strings?

it seems like i can only compare numbers.

thanks!

Views: 7698

Attachments:

Replies to This Discussion

Hi Jan, you can use a Fx2 component with the expression if(x=y,1,0) or if(x=y,True,False)
Edit:
simply x=y for the expression will work too :)

thanks, that works! ;)

nice one, didn´t knew this one!

DeDackel

multiple strings i like to compare like this

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service