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 / How to compare 2 text ...
Power Apps
Answered

How to compare 2 text like: 5.0.0.0.12.13 and 5.0.0.0.12.14

(0) ShareShare
ReportReport
Posted on by 23

How to compare 2 text like: 5.0.0.0.12.13 and 5.0.0.0.12.14?

Value and text/ int/round seems not working.

 

Categories:
I have the same question (0)
  • jimbobcook1 Profile Picture
    102 on at

    Would it be possible to compare by stripping out the . and then using it as a full number?

     

    Maybe using the following in an If statement using value as it's a full number?

     

    Substitute(Label1.Text,".","") 

  • Verified answer
    timl Profile Picture
    37,212 Super User 2026 Season 1 on at

    @Kevin_Guo 

    Can you explain what you mean by compare 2 texts?

    If you want to test if 2 values are equal, you can use this syntax. In this case, this will resolve to false.

    "5.0.0.0.12.13" = "5.0.0.0.12.14"

     

  • Kevin_Guo Profile Picture
    23 on at

    Yes, I just found that and it works, great place to ask question 😀

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Kevin_Guo ,

     

    Glad to see the problem have been solved,

    You could mark the correct reply as a solution to help others.

     

    Best Regards,

    Wearsky

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 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard