Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Extract full names Version 5 (Net)

Группа действий: Работа с текстом

Описание

Извлекает ФИО из текста.

Иконка действия

Image Removed

Настройки

...

Свойство

...

Англ. наименование

...

Описание

...

Тип

...

Текст для анализа.

...

Тестовый текст

...

Особые условия использования

Если одна и та же сущность фигурирует в тексте несколько раз, в результирующем массиве она будет записана один раз.

При извлечении ФИО приводится к верхнему регистру и единой структуре: ИМЯ ФАМИЛИЯ.

Пример использования

Задача: существует переменная "Вводный текст" с значением: "Иван Иванович Иванов - генеральный директор компании ООО "Ромашка".  Требуется извлечь из текста ФИО. 

Решение: воспользоваться действиями "Извлечь ФИО", "Сообщение", "Получить значение по индексу". 

Реализация: 

...

Action group: Text

...

Description

Extracts the full names from the text.

Action icon

Image Added

Settings

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.

When extracting the full name, it is converted to uppercase and the same structure: NAME SURNAME.

Example of use

Task

There is a variable "Input text" with the value: "Ivan Ivanovich Ivanov is the CEO of LLC Romashka".  It is required to extract the full name from the text. 

Solution

Use the actions "Extract full nameы", "Message", "Get value by index". 

Implementation

  1. Create a variable "Collection" to which the result of the "Extract full names" action will be written. 
  2. Move the " Extract full names" action to the workspace and set its parameters. 
    Image Added
  3. Move the "Get value by index" action to the workspace and set its parameters.
    Image Added
  4. Move the "Message" action to the workspace and set its parameters. 
    Image Added
  5. Run the robot using the "Start" button in the top panel. 

Result

The required value is displayed in the dialog box.

Image Added

 

Результат: в диалоговое окно выведено требуемое значение 

Image Removed