cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Axal
Post Prodigy
Post Prodigy

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.

View solution in original post

Hi,

Thank you very much.

Solved.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,843)