ASP - Type Mismatch Error using LEFT
Posted on 2007-11-21
I have a form which posts a series of orderid deliminated by a comma, the following code splits the order numbers
I then need to get the 1st number of the orderid.. ie. if the order number is 400001 then i need 4 if it was 600001 then I need to get 6, so I added the following
refid = LEFT ((arrRegistrants) ,2)
but I get this error
Microsoft VBScript runtime error '800a000d'
any help appreciated