Code Library
Home Submit Free Hosting Link To Us Contacts

VBScript Return a number of characters from a string

VBScript Return a number of characters from a string VBScript VBScript Return a number of characters from a string Download (.zip)



<html>
<body>

<script type="text/vbscript">
text="Have a nice day!"
document.write(Mid(text, 2, 2))

// 1st number is the start position
// 2nd is for the letters amount

</script>

</body>
</html>






Tatet