web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Removing first charact...
Power Apps
Answered

Removing first character of the barcode scan value

(0) ShareShare
ReportReport
Posted on by 90

Hello,

I have an asset scanner that is set up with a label that receives the scan value from a variable, then a text field that has the label's text value.  One asset we scan has a preceding 'S' that I need to manually remove from the text field before I submit the record.

How can I remove this preceding 'S'.  This is the only asset type that has the 'S' as the first character.

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @CPGDallas 

    Try this on your label

    If(
     Left( scanVariable, 1) = "S",
     Right( scanVariable, Len( scanVariable ) - 1 ),
     scanVariable
    )

     Change scanVariable to the name of your scan value variable

  • CPGDallas Profile Picture
    90 on at

    Worked like a charm my friend!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard