/build/static/layout/Breadcrumb_cap_w.png

InStrRev problem

Can anyone suggest why although the below line works fine in a .vbs file it doesn't want to work when put in vbscript within a HTML file...

strDomainUser = Right(strCurrentUser, Len(strCurrentUser)-InStrRev(strCurrentUser,Chr(92)))

?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: sean_c_roberts 19 years ago
Senior Purple Belt
0
When you say it doesn't work - what SPECIFICALLY do you mean?

What output DO you get?
Posted by: Naffcat 19 years ago
Senior Purple Belt
0
Turned out to be a problem with Null values, but thanks anyway
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ