10.07.2017 Views

javascript_tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Javascript<br />

Example<br />

Try the following example.<br />

<br />

<br />

JavaScript String toLocaleUpperCase() Method<br />

<br />

<br />

<br />

var str = "Apples are round, and Apples are Juicy.";<br />

document.write(str.toLocaleUpperCase( ));<br />

<br />

<br />

<br />

Output<br />

APPLES ARE ROUND, AND APPLES ARE JUICY.<br />

toLowerCase ()<br />

This method returns the calling string value converted to lowercase.<br />

Syntax<br />

Its syntax is as follows:<br />

string.toLowerCase( )<br />

Return Value<br />

Returns the calling string value converted to lowercase.<br />

Example<br />

Try the following example.<br />

<br />

159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!