Strings object

 

Strings object represents a list of strings .

 

Returned by:

RDOJunkEmailOptions.BlockedDomains / BlockedEncodings / BlockedSenders / TrustedContacts / TrustedRecipients / TrustedSenders.

 

The example below .

xxx

 

Properties

Methods

 


Derived from: IDispatch


Properties


Count

integer, read-only.

Returns the number of items in the list

 

 

Text

String, read/write.

CR/LF-separated list of the list items.

 

 

Methods


Add(Value)

Adds the specified value to the list

 

 

Clear

Clears the list

 

 

Delete(ValueOrIndex)

Deletes the specified item

ValueOrIndex - object, either a string or or an integer index.

If a string value is specified, finds and deletes the value. If the specified value does not exist, no error is raised.

If an integer index (1 through Count) is used, the value at the specified index is deleted.

 

 

IndexOf(Value)

returns the index (1 through Count) of the specified value (case insensitive).

If the value does not exist in the list, -1 is returned.

 

 

Insert(Value, Index)

Inserts the specified string value at the position specified by the Index parameter (1 through Count).

 

 

Item(Index)

Returns the value (string) with the specified index.

 

 

LoadFromFile(FileName)

Loads the list from the specified file.

 

 

SaveToFile(FileName)

Saves the list to the specified file

 

 

Sort

Alphabetically sorts the list.