adsense


Saturday, 7 November 2015

VB SCRIPT LTRIN FUNCTION PAGE 45

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




VB SCRIPT LTRIN FUNCTION





LTrim Function 
The Ltrim Function removes the blank spaces that are there on the left side of the string. 
Syntax 
LTrim(String) 
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
var =       "             Microsoft VBScript" 
document.write("After Ltrim : " & LTrim(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: 
After Ltrim : Microsoft VBScript 


No comments: