Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string stringTakenFromDiscord = "play *songname*,*channelname*";
- String[] input = stringTakenFromDiscord.Split(',');
- //input[0] will be equal to what comes before the comma
- //if you were to print it, it would be "play *songname*"
- //input[1] will be what comes after the comma
- //if you were to print it, it would be "*channelname*
Add Comment
Please, Sign In to add comment