company logo

StringList :: append - Add string to string list

The function appends the string passed in cString to the string list.

Implementation overview

Implementation details

  1. 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).

  2. to list
  3. 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.

  4. to list