TStringsHelper Class Helper

Represents type TStringsHelper.

Namespace: Spring.Helpers
type
 TStringsHelper = class helper for TStrings
 end;
 NameDescription
IsEmpty

Gets a value indicates whether the strings is empty.

Top
 NameDescription
AddOrUpdate(string,string)

Adds or updates a name-value pair.

AddStrings(string[])

Overloaded. Add an array of string to the list.

ContainsName(string)

Determines whether the list contains the specified name entry.

ContainsObject(TObject)

Determines whether the list contains the specified object.

ContainsValue(string)

Determines whether the list contains the specified value entry.

ExecuteUpdate(TProc)

Executes a procedure during batch updating of the list.

ExtractNames(TStrings)

Extract all name entries and add them to the strings list.

ExtractValues(TStrings)

Extract all value entries and add them to the strings list.

GetIsEmpty

Represents method GetIsEmpty.

GetNames

Returns a string array that contains all the nameentries in the string list.

GetValueOrDefault<T>(string,T)

Gets the corresponding value of the name entry if there is such an entry and the value is not empty, otherwise, returns the default value specified by the defaultparam.

GetValues

Returns a string array that contains all the valueentries in the string list.

ToArray

Converts the string list to a dynamic string array.

TryFindName(string,Integer)

Try finding a name entry in the list.

TryFindObject(TObject,Integer)

Try finding an object in the list.

TryFindValue(string,Integer)

Try finding a value entry in the list.

Top