Value :: isValidText - Checks text fields for valid characters
The function validates a text according to the characters passed in string. If the property handle does not refer to a text field or if the text contains other characters than defined in the string the function returns false.
The function throws an exception, when the property handle is not valid or the property is not a text property (propertyDefinition().isText()).
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation details
bool
Value  :: isValidText ( odaba::String &cString )
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).