What's the most simple way to convert comma separated string to int[]?

Viewed 95747

So I have comma-separated string like 1,5,7, so what's the most simple and native way to convert this string to int[]? I can write my own split function, but there's some interest how to do it in most native way. Thanks in advance guys!

3 Answers
Related