adsense


Saturday, 7 November 2015

VB SCRIPT UCASE FUNCTION PAGE 41

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




VB SCRIPT UCASE FUNCTION





UCase Function 


The UCase Function returns the string after converting 
the entered string into UPPER case letters. 
Syntax 
UCase(String) 
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
var="Microsoft VBScript" 
document.write("Line 1 : " & UCase(var) & "<br />") 
var="MS VBSCRIPT" 
document.write("Line 2 : " & UCase(var) & "<br />") 
var="microsoft" 
document.write("Line 3 : " & UCase(var) & "<br />") 
 
</script> 
</body> 
</html> 
When you save it as .html and execute it in Internet Explorer, 
then the above script will produce the following result: 
Line 1 : MICROSOFT VBSCRIPT 
Line 2 : MS VBSCRIPT 
Line 3 : MICROSOFT 


No comments: