Indy 9
Example
FindFirstNotOf
        // find non-whitespace character
        iPos := FindFirstNotOf(' ' + TAB + CR + LF, sData);
        if iPos > 0 then
          AStrings.Add(Copy(sData, 1, iPos-1))
        else
          AStrings.Add(sData)

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.