StringList :: append - Add string to string list
The function appends the string passed in cString to the string list.
Implementation overview
- Add string to string list
StringList :: append ( cString ) - Add string to string list
StringList :: append ( cString, bUnique )
Implementation details
-
Add string to string list
StringList  :: append ( odaba::String &cString )
The function adds the string to the string list regardless whether it exists or not.
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
to list
- cString
- Constant string object
-
Add string to string list
StringList  :: append ( odaba::String &cString, bool bUnique )
When bUnique is true, The function adds the string to the string list only, when the string does not yet exists. String comparison is case sensitive.
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
- bUnique
- Unique collection
The option indicates a unique collection or index when being set to true.
to list
- cString
- Constant string object