Use the Split once with delimited (line starts with) mode if the split should occur at the first line which begins with the specified separator. When you select this mode, two fragments of text are created, as follows:
|•||The first fragment contains all the text up to the line where the separator is.|
|•||The second fragment contains the remaining text, including the line where the separator is.|
|•||If the separator is at the beginning of the first line, no split occurs (that is, the first resulting fragment remains empty).|
The settings applicable to the are listed below.
This is an optional setting which splits text into two fragments when there is a regular expression match (see Splitting Text with Regular Expressions ). The default value is "no".
Specifies the character(s) to be used as separator. The default value is "none" (no separator).
Look for the first occurrence of the separator starting from the beginning of text.
Look for the first occurrence of the separator starting from the end of text.
For example, in the image below, the split occurs at the first line which begins with the specified separator ("General outgassing pollutants"). If the Split base option was set to tail, then the split would have occurred at the first line which begins with the specified separator, starting from the end (which in this example happens to be the same line).
The first resulting fragment is as follows:
The second resulting fragment is as follows:
© 2019 Altova GmbH