Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to define which characters are to be removed. The cleaning function runs all cleaning rules on each text entry in the priority order and several rules might thus be applied to each text. The configration exist in server.config. Sample configuration:

Code Block
languagexml
	<CleaningTextsSetting>
   		 <Enabled>true</Enabled>
   		<Entries>
			<Entry>
				<FromSubstring>$NewLine</FromSubstring>
				<ToSubstring>,</ToSubstring>
				<Priority>20</Priority>
			</Entry>
			<Entry>
				<FromSubstring>$Tab</FromSubstring>
				<ToSubstring>,</ToSubstring>
				<Priority>20</Priority>
			</Entry>
			<Entry>
				<FromSubstring>,</FromSubstring>
				<ToSubstring/>
				<Priority>10</Priority>
			</Entry>
		</Entries>
	 <Entries>
      <Entry>
        <FromSubstring>$NewLine</FromSubstring>
        <Priority>3</Priority>
      </Entry>
      <Entry>
        <FromSubstring>$CarriageReturn</FromSubstring>
        <Priority>2</Priority>
      </Entry>
      <Entry>
        <FromSubstring>$Tab</FromSubstring>
        <Priority>1</Priority>
      </Entry>
    </Entries>
  </CleaningTextsSetting>

The configuration may handle a few different special characters:

  • $NewLine : New line and

  • $CarriageReturn: CR

  • $Tab: Tab

  • $Backslash: backslash

...