Avatar of whitefoxdennet
 asked on

Name 'chr' is not declared.

I am writing an ASP.Net page in VB.  It loads a class from another .aspx.vb file.  In that class I am trying to put quotation marks around a string by using the code

strNewString = chr(34) & strMyString & chr(34)

When I do this, I get an error stating  Name 'chr' is not declared.

The chr function has been a part of BASIC, and VB since before I was born...  Why is it all of a sudden not working?

Avatar of undefined
Last Comment
Éric Moreau

8/22/2022 - Mon
Éric Moreau

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.