private static FindEOL ( string _Source, int _StartIndex ) : int | ||
_Source | string | |
_StartIndex | int | |
return | int |
private static int FindEOL( string _Source, int _StartIndex )
{
int MatchIndex = _Source.IndexOf( '\n', _StartIndex );
return MatchIndex != -1 ? MatchIndex : _Source.Length; // EOF?
}