I am in need of searching through an array looking for a key word and obtain the word right after that. Something like this but in c Need to get a string after a "word" in a string in c#. I thought about using strtok but it will destroy the array from the tokenizing and I need read without messing with the array. Is there any way I can do this?
array[50] = "Hi, I am victor";
// I want the word after the "am" without destroying or messing up the array