Easy/Text/Search.cs
/// <summary>
/// Searches for the first occurrence of a string in the text
/// </summary>
/// <param name="searchString">String to find</param>
Searches for the first occurrence of a string in the text
Searches for the first occurrence of a string in the text
public void FindFirst(string searchString)
        {
            _currentIndex = -1;
            FindNext(searchString);
        }
public void FindFirst ( string searchString ) { _currentIndex = - 1 ; FindNext ( searchString ) ; }
Searches for the first occurrence of a string in the text
Searches for the first occurrence of a string in the text
// This is the equivalent of FindNext starting from the beginning of document
searchString
string
String to find
String to find