Extract cost Version 3 (Net)

Action group: Text


Description

Extracts the cost from the text with currency designation.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
TextText for analysis.Robin.String
No
Results
ResultCollection of extracted data. If the same entity appears several times in the text, it will be written once in the resulting array.Robin.Collection

Special conditions of use 

If the same entity appears several times in the text, it will be recorded once in the resulting array.

Example of use 

Task

There is a variable "Input text" with a value:

The top of the ranking of the most expensive yachts is a luxury representative of the Italian yacht yard Baia Yachts - it is a yacht "History Supreme". The cost of such a yacht is 4.8 billion dollars. 

You need to extract the value from the text and display it in the dialog box. 

Solution

Use the "Extract  cost", "Show message",  "Get value by index" action. 

Implementation

  1. Create a variable "Collection" into which the result of the "Extract values" action will be written. 
  2. Move the "Extract cost" action to the workspace and set its parameters. 

  3. Move the "Get value by index" action to the workspace and set its parameters.

  4. Move the "Show message" action to the workspace and set its parameters. 

  5. Click "Start" in the top panel.  

Result

The program robot completed successfully. 

The required value is displayed in the dialog box.

 

  • Нет меток