Find text Version 1 (Net)

Action group: Tables


Description

The action returns the address of the cell that contains the given text. 

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Data tableTable for which the action will be performed.Robin.DataTable
Yes
Start cell columnColumn of the starting cell from which the search will be performed. By default, the bounds of the used area are applied from the context.Robin.Numeric
No
Start cell rowRow of the starting cell from which the search will be performed. By default, the bounds of the used area are applied from the context.Robin.Numeric
No
End cell columnColumn of the destination cell to which the search will be performed. By default, the bounds of the used area are applied from the context.Robin.Numeric
No
End cell rowRow of the destination cell to which the search will be performed. By default, the bounds of the used area are applied from the context.Robin.Numeric
No
TextThe text to be searched for.Robin.String
Yes
Search methodSearch method. Full-text search will be applied by default.Robin.String
No
Results
ResultDictionary with elements - found cells: element key = cell address, element value = cell value.Robin.Dictionary

Special conditions of use

None.

Example of use 

Task

There is a CSV table. You need to find the text "Robin" and return a dictionary with items - found cells: item key = cell address, item value = cell value.

Solution

Use "Get table from CSV", "Find text" actions.

Implementation

  1. Assemble a robot scheme with the actions:
  2. Set the "Get table from CSV" action parameters.
  3. Set parameters for the "Find text" action. In the variable "Text" you should specify the text to search for. 


  4. Click "Start" in the top panel.

Result

The program robot completed successfully.

A vocabulary with two entries is formed. 

  • Нет меток