Insert inverted comma (“”) into string visual basic
Dim str As String
str = "*.doc" & "," & "*.docx"
I want the textbox show "*.doc" & "," & "*.docx"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not at all clear what you’re asking for. If you do that, the resulting string will be
*.doc,*.docx. If you want the inverted comma (the quotation mark), you would do something like:That would yield something like
Is this what you are looking for? If not, let us know what you’re trying to accomplish and we can help you out.