How to get INDEX of word inside a string
You'll want to use the IndexOf function on a string. This will tell you the starting character position of the word, character, etc that you're looking for.
Here is an example console app:
static void Main(string[] args)
{
String testing = "text that i am looking for";
Console.Write(testing.IndexOf("looking") + Environment.NewLine);
Console.WriteLine(testing.Substring(testing.IndexOf("looking")));
Console.ReadKey();
}
This will output:
15
looking for