Skip to main content
Participant
August 12, 2020
Answered

Displaying dynamic text in uppercase in HTML5

Is that possible? See subject.

This topic is closed to new replies. Start a new post to keep the conversation going.
JoãoCésar17023019
JoãoCésar17023019Correct answer
Community Expert
August 12, 2020

Hi.

 

It is. Use the toUpperCase method from the String class. Like this:

this.yourDynamicTextField.text = "abc".toUpperCase(); // ABC

 

Regards,

JC

3 replies

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
August 12, 2020

Hi.

 

It is. Use the toUpperCase method from the String class. Like this:

this.yourDynamicTextField.text = "abc".toUpperCase(); // ABC

 

Regards,

JC

Translate
Participant
August 12, 2020

It worked! Thanks 🙂

Translate
JoãoCésar17023019
Community Expert
Community Expert
August 12, 2020

Great!

 

You're welcome!

Translate