Creating acronyms

How to grab letters from text input to create acronyms for save items in a list viewer

Please give an example of what the user would input and an example of what the list viewer would look like.

Do you mean something like this?

User inputs “hello everyone, how are you?”

And the list viewer shows this?

H
E
H
A
Y

2 Likes

If so, @itzvinie use the following code:


for the following result:

1 Like

Let’s say the user input is- PRACTICING MORAL STANDARDS,
So therefore I the result to be PM.
Thanks

I’m going to need more examples. Because what you just wrote tells me that this would be the input and output:

WAVING GOODBYE TO MY FRIENDS → WG
LOVE FUTURE ME → LF
OKAY → O

Is that all correct? And… do you want the list viewer to show this:

WG
LF
O

Or something else? You need to provide a lot more details!

1 Like

Just exactly what I wanted,I want it in a custom DVL

My suggestion would be to look at @codeswept’s example. It’s complicated but you can make a list from text using the delimiter " " (space) and then loop through that list, adding the first letter of each list item (using the get substring from letter #1 to letter #1) to a new list.

If you have trouble, post a link to the project and someone can help you.

3 Likes

Thanks for every time

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.