Forum

How to convert string to integer?

Hi!
Is there a way to convert string to integer32 in gamma? Something like “AsValue(String)” in beta? I have found a “to string” node, but nothing for the other way around.

Thanks in advance!

Check TryParse.

1 Like

just as a tip:
in most cases, you can google smth. like c# string to integer , which will point you to this - or in this case even google shows you the result immediately
image

3 Likes

Thank you both very much!