Hi everyone,
Is there a reason why the Mid() function only works in one direction in
VBScript? This code works in VB6 but not in VBScript? Is there a way
around it? I am trying to create an ASP page which produces a fixed width
text file for import into a third party legacy application which I don't
have control over.
--code sample--
Dim strSomeString
strSomeString = Space(100)
Mid(strSomeStri ng, 1, 4) = "test"
Mid(strSomeStri ng, 10, 20) = "Something else"
--end sample--
Thanks,
Ken.
Is there a reason why the Mid() function only works in one direction in
VBScript? This code works in VB6 but not in VBScript? Is there a way
around it? I am trying to create an ASP page which produces a fixed width
text file for import into a third party legacy application which I don't
have control over.
--code sample--
Dim strSomeString
strSomeString = Space(100)
Mid(strSomeStri ng, 1, 4) = "test"
Mid(strSomeStri ng, 10, 20) = "Something else"
--end sample--
Thanks,
Ken.
Comment