Guest User

Untitled

a guest
Nov 20th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. string text = "The __animal__ jumped over the __object__";
  2. List<string> words = text.Split(' ').ToList();
  3. words = words.Where(x => x.StartsWith("__") && x.EndsWith("__")).ToList();
Add Comment
Please, Sign In to add comment