RDTA.PickDP.Connector.connFunctions Class

This class provides Pick utilities within the client's environment.

Public Constructors

New

Creates an instance associated with a specific database.

Public Methods

dcount

Returns the number of occurrences of the delimiter specified in SourceString plus 1.

delete

Removes a specific attribute, value or subvalue from a dynamic array. This function returns a copy of the dynamic array without the deleted element. It does not change the original string unless specifically designated in an assignment statement.

extract

Retrieves a specific attribute, value or subvalue from a dynamic array. This function makes a copy of an element in a dynamic array rather than physically removing the element.

field

Gets a substring from a string by specifying a delimiter and the desired occurrence.

getLocatePosition

Returns the position in the sourcestring where the searchstring was found.

getTime

Converts Pick internal time to external format. Equivalent to OCONV(time,"MST") .

iconv

Performs the 'D2/' and 'MDO,2' input conversions.

insert

Inserts the element referenced by NewValue into a specific attribute, value, or subvalue location in DynamicArray.

locate

Searches for the location of a specific SearchString and returns the location of where the string was found or if the string was not found, and the position where it should be placed.

MemberwiseClone

Returns a copy of the current instance.

oconv

Performs the 'MDO,' , 'MD2', 'D2/', and 'D4/' output conversions.

oconvs

Executes a Pick OCONV on the server. The Pick OCONV function converts a value from its internal format to its external equivalent according to the processing code being applied.

padString

Pads the beginning or the end of the Source string with the specified number of occurrences of the FillString.  If the FillString is 3 characters long and the Occurrence is 2, then 6 characters are added to the Source string. The original Source string is unchanged.

replace

Inserts or replaces a specific attribute, value or subvalue in the string referenced by DynamicArray with the value referenced by NewValue.

setTime

Converts a time from external format to Pick internal format.  Equivalent to ICONV("hh:mm:ss","MT").

swap

Searches the SourceString for the SearchString and replaces all occurrences with the ReplacementString.

toDouble

Converts a string to a Double.

toFloat

Converts a string to a Float.

toInteger

Converts a string to an Integer.

toLong

Converts a string to a Long.

toNumeric

Converts a string to a Numeric.

toString

Returns a string that represents the current instance.

Constants

Name

Type

Description

kPad_Left

String

Left.

kPad_Right

String

Right.

 

5