QuotationRemover
Group |
|
Class Name |
com.ebd.hub.datawizard.parser.stream.QuotationRemover |
Function |
This preparser is able to remove quotation marks surrounding an entire line. |
Configuration File |
None |
Description
This function is deprecated.
The following steps will be executed for every line of text:
The line will be trimmed (all leading and trailing whitespaces will be removed).
If the first character after the trim is either an apostrophe (') or a quotation mark (")
and if the last character matches the first character and
if after removing the first and last character this character does not occur anymore in the line, then
both paired apostrophes/quotation marks and potential leading and trailing whitespaces will be removed.
Put simply, the content between two paired apostrophes, or quotation marks will be used, if they surround the entire line.
This preparser is a stream preparser, so it is able to process any size of data, without storing the whole data in the internal memory. It will use the encoding defined in the profile.