SDL Component Suite - StringL

The unit STRINGL offers some means to process strings. A collection of procedures and functions provide several often used string formatting functions. In addition, STRINGL contains the class TGrep which offers a versatile string search utility using the wide-spread definition of regular expressions as e.g. in the Unix command "grep". More details can be found in the online help pages.

The unit STRINGL is part of the SDL Component Suite.


What's new:

  • Release 10.5   [Oct-10, 2016]
     
    • the type declaration TOpenStringArray is now based on strings (instead of ShortStrings)
    • the function Tokenize provide now a second overloaded version supporting an escape character

  • Release 10.4   [Jun-02, 2015]
     
  • Release 10.3   [Oct-06, 2014]
     
    • the function StringIx offers now an additional parameter to control case sensitivity
    • the new function AutoFormatData simplifies the formatting of numbers
    • bug fix: ReadNextTagInString now correctly skips comment lines

  • Release 10.2   [May-30, 2013]
     
    • no changes

  • Release 10.1   [Oct-29, 2012]
     
    • SigDigStr now offers an optional parameter to suppress leading blanks

  • Release 10.0   [Oct-4, 2011]
     
  • Release 9.7   [May-31, 2010]
     
  • Release 9.51   [Dec-01, 2008]
     
    • no changes

  • Release 9.5   [Oct-31, 2008]
     
  • Release 9.0   [May-28, 2007]
     
  • Release 8.5   [Feb-18, 2006]
     
  • Release 8.2   [Nov-03, 2004]
     
    • new function DetectNextTagInString implemented
    • bug fix: ReadNextTagInString now reads tags correctly if the closing angle bracket of the last tag in the string is the very last character of the string

  • Release 8.1   [Aug-29, 2004]
     
  • Release 8.0   [Apr-15, 2004]
     
    • new function ReverseString implemented
    • TGrep is now inherited from TComponent
    • new functions MakeStringHTMLCompatible, ResolveHTMLEntities, AnsiToHTMLEntity, HTMLEntityToAnsi
    • new function ReduceStringToFN83CompliantChars
    • new function CapitalizeString
    • new function IsAbbreviation
    • ReadNextTagInString implemented
    • ParseQuotedNames implemented
    • type declaration ShortStr discarded

  • Release 7.2   [Mar-23, 2003]
     
    • STRINGL is now part of BasePack
    • ExpandDiphtongs renamed to ExpandDiphthongs (mind the th)

  • Release 7.0   [Sep-15, 2002]
     
    • available for Delphi™ 7.0
    • the unit is now CLX compatible
    • bug fix: TGrep.MatchString has been improved in handling '.*' if SearchStartPos is greater than length of string

  • Release 6.5   [May-28, 2002]
     
    • available for C++Builder™ 6.0
    • new functions: IsDigit, IsLetter, IsDigitLetter, IsHexChar

  • Release 6.0 [Aug-06, 2001]
     
    • available for Delphi™ 6.0
    • ExtractFromStream has been moved to new unit "Streams"
    • posLast implemented
    • ReadLnString implemented
    • TGrep now treats '.*' as special case and returns always true, even if string is empty
    • NumberedPos and ReplaceStringInString now allow to ignore cases
    • ReduceStringToAZ09 implemented
    • StringIx implemented
    • strff extended: leading blanks are filled by zeroes if parameter FieldWidth is negative
    • StripLeadingBlanks and StripTrailingBlanks implemented
    • TGrep supports now search starting position (property SearchStartPos)
    • regular expression in TGrep may now contain any character - even non-printable ones (command '\#xx')
       
  • Release 5.5  [Jun-09, 2000]
     
    • ExtractFromStream: "insertbyte" and "convertbyte" implemented
    • CountCharInString implemented
    • RemoveControlChars implemented
    • bug fix in ExtractFromStream: loop did not finish when cursor met "endpos"
       
  • Release 5.0  [Sep-22, 1999]
     
    • STRINGL is now part of the SDL Component Suite 5.0
    • ExtractFromStream implemented
    • bug fix in StripLTBlanks: string filled entirely with spaces is now correctly reduced to empty string
    • bug fix in TGrep: "." (any character) is now handled correctly
       
  • Release 1.3  [Mar-23, 1998]
     
    • STRINGL is now available for C++Builder™ 4.0
    • new function BoolToStr implemented
    • help file improved (EnsureTrailingChar was missing)
       
  • Release 1.2    [Aug-15, 1998]
     
    • Stringl now available for Delphi™ 4.0
    • scramble routines implemented
    • UUEncode and UUDecode implemented
    • TGrep: properties MatchEndPos and MatchStartPos implemented
    • FormatData implemen
       
  • Release 1.1    [Apr-07, 1998]
     
    • Stringl is now available for all versions of Delphi™ (1.0, 2.0, 3.0), and for C++Builder™ (1.0 and 3.0)
    • ReplaceStringInString implemented
    • EnsureTrailingBkSlash implemented