Creating lists using a string
With this, either simple vectors or lists defined by templates can be given for the respective divided text.
|
inlinestatic |
Concatenates the elements of a specified array or the members of a collection and uses the specified separator between each element or member.
[in] | strings | An array of objects whose string representations are concatenated. |
[in] | delimiter | Delimiter to be used to join the input string |
Example:
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty the result will be an empty array (not an array containing an empty string).
[in] | input | Input string to be split |
[in] | delimiter | Delimiter to be used to split the input string |
[in] | iMaxStrings | [opt] Maximum number of resulting split strings |
Example:
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty the result will be an empty array (not an array containing an empty string).
[in] | input | Input string to be split |
[in] | delimiter | Delimiter to be used to split the input string |
[in] | iMaxStrings | [opt] Maximum number of resulting split strings |
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty the result will be an empty array (not an array containing an empty string).
[in] | input | Input string to be split |
[in] | delimiters | Delimiter strings to be used to split the input strings |
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty nothing will be put into the target iterator.
[in] | d_first | The beginning of the destination range |
[in] | input | Input string to be split |
[in] | delimiter | Delimiter to be used to split the input string |
[in] | iMaxStrings | [opt] Maximum number of resulting split strings |
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty nothing will be put into the target iterator.
[in] | d_first | The beginning of the destination range |
[in] | input | Input string to be split |
[in] | delimiter | Delimiter to be used to split the input string |
[in] | iMaxStrings | [opt] Maximum number of resulting split strings |
|
inlinestatic |
Splits the given input string using the given delimiter into separate strings.
If the given input string is empty nothing will be put into the target iterator.
[in] | d_first | The beginning of the destination range |
[in] | input | Input string to be split |
[in] | delimiters | Delimiter strings to be used to split the input strings |
|
inlinestatic |
Splits the given input strings using the given delimiters into further separate strings.
If the given input string vector is empty the result will be an empty array (not an array containing an empty string).
Delimiter strings are applied in order, so once the (optional) maximum number of items is produced no other delimiters are applied. This produces different results to applying all delimiters at once e.g. "a/b#c/d" becomes "a", "b#c", "d" rather than "a", "b", "c/d"
[in] | input | Input vector of strings each to be split |
[in] | delimiters | Delimiter strings to be used to split the input strings |
[in] | iMaxStrings | [opt] Maximum number of resulting split strings |
|
inlinestatic |
Split a string by the specified delimiters.
Splits a string using one or more delimiting characters, ignoring empty tokens.
Differs from Split() in two ways:
[in] | input | String to split |
[in] | delimiters | Delimiters |
|
inlinestatic |
Tokenizing a string denotes splitting a string with respect to a delimiter.
[in] | input | String to split |
[out] | tokens | A vector of tokens |
[in] | delimiters | Delimiters |
|
inlinestatic |
Tokenizing a string denotes splitting a string with respect to a delimiter.
[in] | input | String to split |
[in] | delimiter | Delimiters |
|
inlinestatic |
Tokenizing a string denotes splitting a string with respect to a delimiter.
[in] | input | String to split |
[out] | tokens | List of |
[in] | delimiter | Delimiters |