company logo

PropertyHandle :: ReplaceString - Replace text

The function allows replacing text strings in a text field or in all text fields of an instance. When the property handle refers to a text field text passed in old_str is replaced by the text passed in new_str.

When the function is called for a complex data type, text is replaced in all text fields (attributes and MEMO properties). When replacing text in key attributes, this may affect the instance order. Hence, some instances might be skipped when calling the function in a loop.

Updated instances are stored to database after replacing the text.

Return value:  Success ( logical  )

Implementation details

logical PropertyHandle  :: ReplaceString ( NString &cnold, NString &cnnew )
  • cnold - - internal feature (not documented)
  • cnnew - - Title unknown