cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CK28
New Member

Get a spezific row out of OcrText

Hi,

 

i have extracted a text with OCR and i have the OcrText like below.

 

Row 1: P022674

Row 2: 1015

Row3: RH.RE02.GL15A

 

and i need each row separat how can i extract just row 2 for e.g.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ThomasFonn
Resolver I
Resolver I

Hi @CK28 !

There's an action called "Split text" where you choose the OCR-text as input and then select a delimiter, in this case it would be "new line".
It will output an Array of text values containing a separate entry for each row into a new variable called %TextList% by default

Then to access the second row in any other action use the array index like so: %TextList[1]%

This will fetch the second row (as arrays always start in position 0)

View solution in original post

2 REPLIES 2
ThomasFonn
Resolver I
Resolver I

Hi @CK28 !

There's an action called "Split text" where you choose the OCR-text as input and then select a delimiter, in this case it would be "new line".
It will output an Array of text values containing a separate entry for each row into a new variable called %TextList% by default

Then to access the second row in any other action use the array index like so: %TextList[1]%

This will fetch the second row (as arrays always start in position 0)

Hi @ThomasFonn,

thanks for your help 

 

have a nice day

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,197)