remove

Object dataRecord.remove ( Object key )

Description

Remove a field from the DataRecord.

Parameters

  • key The name of the associative key, usually a string but, if you have manually added fields, it can be an integer, etc.

Return Values

Returns the value previously associated with the specified key. If the key did not exist then it will return null.

Change Log

Version Description
4.5 Available for all editions.

Examples

Add/Change DataRecord Field

 // Removes the "CITY" field from the dataRecord.
 dataRecord.remove( "CITY" );