cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Axal
Super User
Super User

How to use split in a collection

Hi,

 

This is kinda confusing, but I'm using Split function to have a filename and filetype like this : Set(Col1, Split("test.xlsx","."))

The result as expected is a collection of those two part, but in 1 column with name "Result"

 

How do I get the 1st and the 2nd, lets say I want to put each in a label.

 

Or is there a better way to have the file name and file type ?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

You can access the two split values this way:

First(Col1).Result

Last(Col1).Result

 

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
BCLS776
Super User
Super User

You can access the two split values this way:

First(Col1).Result

Last(Col1).Result

 

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Hi,

Thank you very much.

Solved.

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (3,804)