![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2006
Posts: 11
Rep Power: 0
![]() |
Need help putting a " in a string
I need to display a string that says something like "banana" but I need the quotes. I know in C++ you put \" but I dont know how to do that in VB.
|
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Just put two quotes:
myString = "He said, ""My name is Bob.""" |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2006
Posts: 11
Rep Power: 0
![]() |
Wow, I feel really stupid. Thanks for the help.
|
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
Wow, I feel that VB is stupid
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|