[
https://issues.apache.org/jira/browse/MINIFICPP-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aldrin Piri updated MINIFICPP-474:
----------------------------------
Fix Version/s: 0.5.0
> Implement getDelimitedField EL function
> ---------------------------------------
>
> Key: MINIFICPP-474
> URL: https://issues.apache.org/jira/browse/MINIFICPP-474
> Project: NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Andrew Christianson
> Assignee: Andrew Christianson
> Priority: Major
> Fix For: 0.5.0
>
>
> *Description*: Parses the Subject as a delimited line of text and returns
> just a single field from that delimited text.
> *Subject Type*: String
> *Arguments*:
> * _index_ : The index of the field to return. A value of 1 will return the
> first field, a value of 2 will return the second field, and so on.
> * _delimiter_ : Optional argument that provides the character to use as a
> field separator. If not specified, a comma will be used. This value must be
> exactly 1 character.
> * _quoteChar_ : Optional argument that provides the character that can be
> used to quote values so that the delimiter can be used within a single field.
> If not specified, a double-quote (") will be used. This value must be exactly
> 1 character.
> * _escapeChar_ : Optional argument that provides the character that can be
> used to escape the Quote Character or the Delimiter within a field. If not
> specified, a backslash (\) is used. This value must be exactly 1 character.
> * _stripChars_ : Optional argument that specifies whether or not quote
> characters and escape characters should be stripped. For example, if we have
> a field value "1, 2, 3" and this value is true, we will get the value {{1, 2,
> 3}}, but if this value is false, we will get the value {{"1, 2, 3"}} with the
> quotes. The default value is false. This value must be either {{true}}or
> {{false}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)