String :: assign - Assigns a string data reference
The method assigns the reference to string data from parameter to the calling string. If the parameter is null, the calling string will be null, too. Assigning different types of values to the string is available according to the different implemented String constructors. There is no conversion to the code type of the calling string. In order to maintain coding type use append() after calling clear() before.
Return value: String object ( odaba::String & )
Implementation details
odaba::String &
String  :: assign ( 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).