Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public string GetCommentAsString(string log)
  2. {
  3. string[] commit=new string[1];
  4. string[] lines = log.Split('\n');
  5. foreach (string line in lines)
  6. {
  7. if (line.Contains("#comment:"))
  8. {
  9. commit = line.Split(':');
  10. }
  11. }
  12. return commit[1];
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement