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

How to use split with output of a Forms

Hello,

 

I would like to split the results of a Forms. However, I get a message "Expression is unvalide".

Could you explain me where I make a mistake?

1) I define a variable

2) I try to use the function "split" with ";" as separator

 

For example :

 

"ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8607-A | 02-11-2020 ; ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8608-A | Fiche technique - 02-11-2020 ; ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8609-A | - 02-11-2020"

 

to get

ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8607-A |  02-11-2020

ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8608-A | 02-11-2020

ICON-EXE-TTZ-FON-TS-DR-WBS-FTE-8609-A |  02-11-2020

 

 

ndeom_0-1604409267010.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Paulie78
Super User
Super User

You almost have it right:

split(variables('ListDoc'), ';')

You missed the single quotes.

 

Please...

If I answered your question Accept it as a solution ✔️ 

If I helped you out, please give me some Kudos 👍

Thanks 😙

 

View solution in original post

1 REPLY 1
Paulie78
Super User
Super User

You almost have it right:

split(variables('ListDoc'), ';')

You missed the single quotes.

 

Please...

If I answered your question Accept it as a solution ✔️ 

If I helped you out, please give me some Kudos 👍

Thanks 😙

 

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
Users online (1,855)