Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string GetCommentAsString(string log)
- {
- string[] commit=new string[1];
- string[] lines = log.Split('\n');
- foreach (string line in lines)
- {
- if (line.Contains("#comment:"))
- {
- commit = line.Split(':');
- }
- }
- return commit[1];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement