adsense


Showing posts with label VB SCRIPT SPACE FUNCTION. Show all posts
Showing posts with label VB SCRIPT SPACE FUNCTION. Show all posts

Sunday, 8 November 2015

VB SCRIPT SPACE FUNCTION PAGE 50

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




VB SCRIPT SPACE FUNCTION




Space Function 


The Space Function fills a string with a specific number of spaces. 
Syntax 
space(number) 
number, a Required Parameter. The number of spaces that we want to add to the given string. 
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
var1="Microsoft" 
var2="VBScript" 
document.write(var1 & Space(2)& var2) 
 
</script> 
</body> 
</html> 
When you save it as .html and execute it in Internet Explorer, 
then the above script will produce the following result: 
Microsoft VBScript