company logo

Value :: searchString - Search string in property

The function searches for the text passed in sString in the text value. When the value handle refers to a text property, the function returns the position of first occurrence of sString in the text.

When no instance is selected in the value handle or the value is not a text property, the function throws an exception.

Return value:  Start position in string ( int32  )

The start position begins with 0 at the beginning of the string area.

Implementation details

int32 Value  :: searchString ( odaba::String &sString, int32 iStartPosition, bool bCaseSensitive )
  • sString - String value
  • iStartPosition - Start position in string

    The start position begins with 0 at the beginning of the string area.

  • bCaseSensitive - Case sensitive option

    The option indicates case sensitive data in text (true)