cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dsab81
Microsoft
Microsoft

Count of Upper Case Letters in a String

Hi

May i know the formulae to get the 'count of Upper Case Letters in a Particular String' ?

 

e.g 

Alpha@Gmail.com

Upper Case Letter Count : 2

 

1 ACCEPTED SOLUTION

Accepted Solutions
rsaikrishna
Dual Super User
Dual Super User

@dsab81 

 

As @ChristianAbata mentioned there is no formula to get you the count of Upper Case Letters. 

 

I created a flow which accepts an input string and give you the upper case letter count.

 

NOTE: You can use this flow as a child flow and pass the string from your main flow and receive count as response to main flow. 

 

Here are the screens for the flow:

rsaikrishna_0-1622689661940.png

Expression: replace(triggerBody()['text'],' ','')

 

rsaikrishna_1-1622689747019.png

rsaikrishna_2-1622689806379.png

rsaikrishna_3-1622689833351.png

 

Attached the flow package for reference.

 

I hope this will be helpful.

 

Note: You definitely need to consider the number of times you are going to call this flow. You may hit throttling limits if you call many times. Feel free to optimize the flow.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

 

 

 

 

 

 

View solution in original post

2 REPLIES 2
ChristianAbata
Super User II
Super User II

HI @dsab81  unfortunally far as I know is not possible by some action or expression. You can try creating a php web service and then you can use it to count Capital letters.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
rsaikrishna
Dual Super User
Dual Super User

@dsab81 

 

As @ChristianAbata mentioned there is no formula to get you the count of Upper Case Letters. 

 

I created a flow which accepts an input string and give you the upper case letter count.

 

NOTE: You can use this flow as a child flow and pass the string from your main flow and receive count as response to main flow. 

 

Here are the screens for the flow:

rsaikrishna_0-1622689661940.png

Expression: replace(triggerBody()['text'],' ','')

 

rsaikrishna_1-1622689747019.png

rsaikrishna_2-1622689806379.png

rsaikrishna_3-1622689833351.png

 

Attached the flow package for reference.

 

I hope this will be helpful.

 

Note: You definitely need to consider the number of times you are going to call this flow. You may hit throttling limits if you call many times. Feel free to optimize the flow.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

 

 

 

 

 

 

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (981)