Code Library
Home Submit Free Hosting Link To Us Contacts

VBScript Removes spaces from a string

VBScript Removes spaces from a string VBScript VBScript Removes spaces from a string Download (.zip)



<html>
<body>

<script type="text/vbscript">
name=" Adam "
document.write("Hello" & trim(name) & "Smith<br>")
document.write("Hello" & rtrim(name) & "Smith<br>")
document.write("Hello" & ltrim(name) & "Smith<br>")
</script>

</body>
</html>






Tatet