How To Extract Words from Text which has a given Characters ?

How To Extract Words from Text which has a given Characters ?

Use Case Description

I want to extract words from bellow text that contains strings “fo” or “in”
UiPath is a global software company for robotic process automation (RPA)
founded in Romania by Daniel Dines and Marius Tîrcă and headquartered in New York City.
The company’s software monitors user activity to automate repetitive front and back office tasks,
including those performed using other business software such as customer relationship management
or enterprise resource planning (ERP) software.

AS-IS WORKFLOW, TO-BE WORKFLOW

-

Other information about the use case

Industry categories for this use case: Telecom

Skill level required: Intermediate

UiPath Products that were used: UiPath Studio

Other applications that were used: -

Other resources: -

What is the top ROI driver for this use case?: Other

@hsendel ,
Try below method and let me know if it works for you

"UiPath is a global software company for robotic process automation (RPA)
founded in Romania by Daniel Dines and Marius Tîrcă and headquartered in New York City.
The company’s software monitors user activity to automate repetitive front and back office tasks,
including those performed using other business software such as customer relationship management
or enterprise resource planning (ERP) software".Split(" "c).Where(Function(x) x.ToLower.Contains("in") Or x.ToLower.Contains("fo")).ToArray
2 Likes

the Expression will work but no need to use Select method

1 Like

@vikasrawat911
Thanks for observing it.

@hsendel Please consider the edited/updated version of expression

2 Likes