Extension methods to Strings

SplitToLines()

Splits a string into lines.

string longestLine = str.SplitToLines().ElementAtMax(s => s.Length);

Last edited Nov 13, 2012 at 4:27 PM by BlueCode, version 1

Comments

No comments yet.