I'm trying to get a text that is placed between two word.
Project Name - this is the text I want to get, Contact Name -
how can I get exactly the Project Name without the first text and the last?
I Tried this code but it takes the Contact Name content too:
int Place1 = SecondText.IndexOf("Project Name");
int Place2 = SecondText.IndexOf("Contact Name");
Name = SecondText.Substring(Place1, Place2);
NameTB.Text = Name;
I have created a Cleaner function which deletes the words Project Name and Contact Name But the contact name stays in my string.
Thanks for helping.