• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Displaying dynamic text in uppercase in HTML5

Community Beginner ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Is that possible? See subject.

TOPICS
Code

Views

355

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 12, 2020 Aug 12, 2020

Hi.

 

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

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

 

Regards,

JC

Votes

Translate

Translate
Community Expert ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Hi.

 

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

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

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

It worked! Thanks 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

LATEST

Great!

 

You're welcome!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines