I\'m trying to grab the first 3 words of a string (E-mail Subject)in C#, has anyone done this before? thanks for your help
string result = string.Join(" ", str.Split().Take(3)); (Edited)
string result = string.Join(" ", str.Split().Take(3));