Highlighted

Displaying dynamic text in uppercase in HTML5

New Here ,
Aug 12, 2020

Copy link to clipboard

Copied

Is that possible? See subject.

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

 

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

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

 

Regards,

JC

TOPICS
Code

Views

35

Likes

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

Displaying dynamic text in uppercase in HTML5

New Here ,
Aug 12, 2020

Copy link to clipboard

Copied

Is that possible? See subject.

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

 

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

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

 

Regards,

JC

TOPICS
Code

Views

36

Likes

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
Aug 12, 2020 0
Adobe Community Professional ,
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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

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
Reply
Loading...
Aug 12, 2020 0
New Here ,
Aug 12, 2020

Copy link to clipboard

Copied

It worked! Thanks 🙂

Likes

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
Reply
Loading...
Aug 12, 2020 1
Adobe Community Professional ,
Aug 12, 2020

Copy link to clipboard

Copied

Great!

 

You're welcome!

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

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
Reply
Loading...
Aug 12, 2020 0