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 / Check Scan input and d...
Power Apps
Answered

Check Scan input and delete special characters

(0) ShareShare
ReportReport
Posted on by 19

Hi, everyone,

I have a problem that I can't get any further. I have a form where you can enter the text manually as well as using the scan function can enter. When scanning the barcode, I always get a special character ($) as the first character. Now I want a function that checks when entering text (Scan Value) whether the first character is a special character ($) If yes (true), the special character should be deleted.

This is the formula I use to transfer the scan value to the input field:

If(
!IsBlank(BarcodeScanner3.Value);
BarcodeScanner3.Value;
Parent.Default
)
I Hope someone can help me

Categories:
I have the same question (0)
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    If(
    !IsBlank(BarcodeScanner3.Value);
    Substitute(BarcodeScanner3.Value,"$","");
    Parent.Default
    )

     

     

    https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/functions/function-replace-substitute

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard