Breaking News

Wednesday, July 4, 2012

Ex26: Trim function in VBScript


<!DOCTYPE html>
<html>
<body>


<script type="text/vbscript">
fname=" Bill "
document.write("Hello" & Trim(fname) & "Gates<br />")
document.write("Hello" & RTrim(fname) & "Gates<br />")
document.write("Hello" & LTrim(fname) & "Gates<br />")
</script>


</body>
</html>

No comments:

Post a Comment

Designed By Published.. Blogger Templates