Link to home
Start Free TrialLog in
Avatar of gimby
gimby

asked on

Microsoft VBScript runtime error '800a005e'

I had a ASP Function that has been working fine to add left or right padding to a string. Something must have changed on the server as I now get a
Microsoft VBScript runtime error '800a005e'
Invalid use of Null
<%Function Lpad (MyValue, MyPadChar, MyPaddedLength)
Lpad = string(MyPaddedLength - Len(MyValue),MyPadChar) & MyValue
End Function
 
Function Rpad (MyValue, MyPadChar, MyPaddedLength)
Rpad = MyValue & string(MyPaddedLength - Len(MyValue), MyPadChar)
End Function %>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of DarkHill
DarkHill

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial