Daylight v4.9
Release Date: 1 February 2008

Name

dt_string - return the string value of a named property of an object

Generic Prototype

dt_string(dt_Handle, dt_String name) => dt_String

C Prototype

#include "dt_smiles.h"

dt_String dt_string(dt_Integer *slen, dt_Handle object, dt_Integer nlen, dt_String pname)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_string(object, pname, string)

integer*4 object
character*() pname
character*() string

Description

Gets the string value of a named property 'pname' for an object.

Return Value

Returns the string value for the named property for the object. If the named property is not of type DX_PROP_STRING (set with dt_setstring(3)), the property is defined as 'invalid string'.

Related Topics

dt_appendstring(3) dt_proptype(3) dt_setstring(3)