Skip to main content
Participant
August 12, 2020
Answered

Displaying dynamic text in uppercase in HTML5

  • August 12, 2020
  • 1 reply
  • 580 views

Is that possible? See subject.

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Hi.

 

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

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

 

Regards,

JC

1 reply

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

Participant
August 12, 2020

It worked! Thanks 🙂

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

Great!

 

You're welcome!