+1 vote
in Angular by

How will you convert an input to all uppercase?

1 Answer

0 votes
by

uppercase filter is used to convert the input to all uppercase.

In below example, we've added uppercase filter to an expression using pipe character. Here we've added uppercase filter to print student name in all uppercase letters.

<div> 

   The name of this Tutorial is {{TutorialName}}

  

   The first Topic is {{appList[0] | uppercase}}

 

   The second Topic is {{appList[1] | uppercase}}

 

   The third Topic is {{appList[2]| uppercase}}

 

</div> 

Related questions

+1 vote
asked Jan 24, 2022 in Angular by sharadyadav1986
0 votes
asked Dec 8, 2023 in Angular by GeorgeBell
...