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 / qr value has uknown ch...
Power Apps
Unanswered

qr value has uknown character

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello i have a app with qr scanner. The value i am getting has a strange character at the end (). Possible to trim the string to exclude that character if it exist ? 

0000522715
 
Categories:
I have the same question (0)
  • timl Profile Picture
    37,285 Super User 2026 Season 2 on at

    Hi @Anonymous 

    If there are bracket characters at the end of your string, you can call the substitute function to replace them with an empty string.

    Substitute("0000522715()", "()","")

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hi thx for repsonse, i am using this function on the label that displayes the qr scanned value. First(Match(BarcodeScanner1.Value;"FORSIKRING:(.+)JOBB:";MatchOptions.Contains).SubMatches).Value

  • timl Profile Picture
    37,285 Super User 2026 Season 2 on at

    If you wrap your formula inside a call to substitute, does that take you any further?

    Substitute(
     First(Match(BarcodeScanner1.Value;"FORSIKRING: (.+)JOBB:";MatchOptions.Contains).SubMatches).Value, 
     "()",
     ""
    )
    
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    still gives me the character :S, the thing its that i have a qr code that has 4values in one entire line. So i am splitting the line to draw out the value i need, so think that the unknown character its the split itself or something ? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    i checked the string it sends : 

    {"name":"Registrerings_nummer","value":"EB40058\u001d"},{"name":"ServiceOrdre_Nummer","value":"0000522715\u001d"},{"name":"Forsikringsselskap","value":"IF SKADEFORSIKRING\u001d"}

    see that \u001d, dont know what that its also why  is it there 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    is it possible in power automate to check if the variable contains \u0001d then remove it ? 

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