company logo

Value :: insertString - Insert string at given position

The function inserts the string passed in sString at position passed in iPosition.

When no instance is selected or when the value handle does not refer to a text field (propertyDefinition.isText()), the function throws an exception.

Implementation details

Value  :: insertString ( odaba::String &cString, int32 iPosition )
  • cString - Constant string object

    When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).

  • iPosition - Position in collection

    The position of an element in a collection is beginning with 0 for the first element.