The Find Text object finds lines in
a text file.
Use the Find Text object to find
according to a search string that you specify.
To configure the Find Text object
you need to know name of the file that you want to search in, the
file encoding that it uses, and the text that you want to search
for.
File
|
Type the path and name of the
file that you want to find the text in, or click the ellipsis
button (...) and browse for
it.
|
File encoding
|
Click the ellipsis button
(...) and select the format
that the file is encoded in from the File encoding drop-down list. Verify
that you select the correct encoding format: if the file uses a
different encoding format, the object fails.
|
Search text
|
Type the text that you are
searching for in the file.
|
Use regular expressions
|
Select this option to use
regular expressions in your search. For more information on regular
expressions, see the “Regular Expressions” topic in the Opalis
Integration Server Online Help.
|
Case sensitive
|
Select this option to search
only for lines where the case of the words matches the text from
the Search
text field exactly.
|
Result
|
Select one of the following
options for your results:
•
|
Only the first line that matches
the text will be returned
|
•
|
All lines that match the text
will be returned
|
|
Name
|
Description
|
Case sensitive
|
Indicates whether the
Case sensitive check box
was checked or not.
|
File encoding
|
The file encoding format that
you selected in the File
encoding field.
|
File name
|
The name of the file that was
searched for text.
|
Return first line or all
lines
|
Indicates whether the
Only the first line that matches
the text will be
returned or All lines that
match the text will be returned option was selected.
|
Line number of match
|
The line number where matching
text was found.
|
Match end
|
The character offset position
that the match ends on.
|
Match start
|
The character offset position
that the match starts on.
|
Matched text
|
The text that matched the
search string.
|
Number of lines matched
|
The number of lines where
matching text was found.
|
Number of matches
|
The number of matching items
that were found.
|
Original line
|
The entire line that contains
the matching item.
|
Search text
|
The search string that was used
for the search.
|
Use Regex
|
Indicates whether the
Use regular expressions
check box was checked or not.
|