BBjspHashMap::getString (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method will return a String value derived from the stored value in this BBjspHashMap.

If the object in the BBjspHashMap is not a String then the object will be coerced into a String if possible.

Syntax

Return Value

Method

String

getString(string key)

Parameters

Variable

Description

key

The name of the String object to return.

Return Value

Returns the String object.

Remarks

None.

Example

declare BBjspHashMap map!

map! = BBjAPI().makeBBJSP().makeBBjspHashMap()

map!.setLong("F",12.34)

print map!.getString("F")

print map!

See Also

BBjspHashMap

BBjspHashMap::setString()