<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>
Published in: VBScript
Download

Related snippets