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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Scramble letters to Ph...
Power Apps
Unanswered

Scramble letters to Phonetics

(0) ShareShare
ReportReport
Posted on by 42

I have created a password generator, which will generate 15- and 8-digit characters respectively, those are alpha numeric, Upper, and lower case, special characters, and numbers, Label1 at the top will show the generated password, and label2 at the bottom should show the password here I would wanted it to show the data in phonetics

 Label2 should display:

p - Papa

d - Delta

S - Sierra

y - Yankee

r - Romeo

c - Charlie

R - Romeo

L - Lima

 

Veera0612_0-1653540943425.png

 

Please help.

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @Veera0612 

     

    Create a reference table with the phonetics in it

    there are a few ways to go about this, something like:

    Set(
     Phonetics,
     Table(
     {
     key: "a",
     phonetic: "alfa,"
     },
     {
     key: "b",
     phonetic: "bravo"
     },
     {
     key: "c",
     phonetic: "charlie"
     },
     {
     key: "d",
     phonetic: "delta"
     },
     {
     key: "e",
     phonetic: "echo"
     },
     {
     key: "f",
     phonetic: "foxtrot"
     },
     {
     key: "g",
     phonetic: "golf"
     },
     {
     key: "h",
     phonetic: "hotel"
     },
     {
     key: "i",
     phonetic: "india"
     },
     {
     key: "j",
     phonetic: "juliett"
     },
     {
     key: "k",
     phonetic: "kilo"
     },
     {
     key: "l",
     phonetic: "lima"
     },
     {
     key: "m",
     phonetic: "mike"
     },
     {
     key: "n",
     phonetic: "november"
     },
     {
     key: "o",
     phonetic: "oscar"
     },
     {
     key: "p",
     phonetic: "papa"
     },
     {
     key: "q",
     phonetic: "quebec"
     },
     {
     key: "r",
     phonetic: "romeo"
     },
     {
     key: "s",
     phonetic: "sierra"
     },
     {
     key: "t",
     phonetic: "tango"
     },
     {
     key: "u",
     phonetic: "uniform"
     },
     {
     key: "v",
     phonetic: "victor"
     },
     {
     key: "w",
     phonetic: "whiskey"
     },
     {
     key: "x",
     phonetic: "x-ray"
     },
     {
     key: "y",
     phonetic: "yankee"
     },
     {
     key: "z",
     phonetic: "zulu"
     }
     )
    )

     

    Add a gallery and set the Items as follows:

    AddColumns(
     Split(
     yourPassWordValue,
     ""
     ).Result,
     "phon",
     LookUp(
     Phonetics,
     key = Lower(Result)
     ).phonetic
    )

     

    Result:

    Two label in the gallery

    label1 = ThisItem.Result

    label2 = " - " & Proper(ThisItem.phon)

    rubin_boer_0-1653550232058.png

     

    Hope it helps,

    R

     

     

  • Verified answer
    Veera0612 Profile Picture
    42 on at

    Thank you so much, it worked as expected.

    Veera0612_0-1653626459322.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard