DartStrings Collection : Add Method |
Item is parsed for the Delimiter, and is segmented into substrings if found. All substrings are added as individual strings to the collection.
For example, if the Delimiter is ":" and Item is "ab:cd:ef", then "ab", "cd", and "ef" are added.
The Add method takes linear (O(n)) time, where n is the number of delimited strings being added.
This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):