Homework Help . how to pick out in a string variable that looks like this 1,2 and only pick out the2

Greetings everyone i've been having a tought time with some of my homework . I have to pick out in a grid the coordinates that look like this 1,2 for example and then pick out the x and y coordinates but i don't know how to pick out just the two for example . Thanks for your help .
8 Replies
Potato_Boy🦉
Potato_Boy🦉OP•2y ago
Potato_Boy🦉
Potato_Boy🦉OP•2y ago
JakenVeina
JakenVeina•2y ago
so, how to pick out the second value from a comma-separated list? start here
JakenVeina
JakenVeina•2y ago
Divide strings using String.Split (C# Guide)
The Split method returns an array of strings split from a set of delimiters. It's an easy way to extract substrings from a string.
Potato_Boy🦉
Potato_Boy🦉OP•2y ago
Thanks a lot it worked ^^
JakenVeina
JakenVeina•2y ago
o7
Accord
Accord•2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Potato_Boy🦉
Potato_Boy🦉OP•2y ago
/close
Want results from more Discord servers?
Add your server