You can use
Substring() to do that
string sentence = "my name is james and i am 19 years old.";
string result = sentence.Substring(0, sentence.IndexOf(" and "))+".";
Hope, it helps :)
Update:
I just realized, it's better to use regular expression to handle these kind of requirements as shown by @OriginalGriff.