TypeScript – String toLowerCase()

Lowercase

This method returns the calling string value converted to lowercase.

Syntax

string.toLowerCase( )

Return Value

Returns the calling string value converted to lowercase.

Example

var str = "Apples are round, and Apples are Juicy."; 
console.log(str.toLowerCase( ))

On compiling, it will generate the same code in JavaScript.

Its output is as follows −

apples are round, and apples are juicy.

Previous Page:-Click Here

This Post Has 2 Comments

  1. ikaria juice

    Great article. It is quite unfortunate that over the last several years, the travel industry has already been able to to deal with terrorism, SARS, tsunamis, flu virus, swine flu, as well as first ever entire global tough economy. Through all this the industry has really proven to be powerful, resilient along with dynamic, getting new strategies to deal with adversity. There are always fresh challenges and opportunity to which the business must all over again adapt and react.

Leave a Reply