cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Danny_L
Helper III
Helper III

Strip characters from a text input that is comma separated

I have two labels that I need to compare. We want to make sure the manufacturing part number on our internal label matches the manufacturing part number provided by the manufacturer. Our QR code on our internal label doesn't just contain the manufacturer part number which is my issue. It contains 8 pieces of information all comma separated. I know that what i'm looking for is always going to be after the 4th comma in the string. Is there a way to extract that info so I can do a comparison of that to the label provided by the manufacturer??

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Danny_L 

The following will give you the 4th element:

Last(FirstN(Split(yourScannedValue, ","), 4)).Result

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

2 REPLIES 2
RandyHayes
Super User III
Super User III

@Danny_L 

The following will give you the 4th element:

Last(FirstN(Split(yourScannedValue, ","), 4)).Result

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Genius, it worked. Thanks!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (67,772)