COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
VB SCRIPT RTRIN FUNCTION
RTrim Function
The Rtrim Function removes the blank spaces that are there on the Right side of the string.
Syntax
RTrim(String)
Example
<!DOCTYPE html>
<html>
<body>
<script language="vbscript" type="text/vbscript">
var = "Microsoft VBScript "
document.write("After Rtrim : " & RTrim(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 Rtrim : Microsoft VBScript
No comments:
Post a Comment