The ClevelandDotNet Blog is created to serve all .Net developers, both in Cleveland and elsewhere. Various .Net questions, events, and technical topics of interest will be posted regularly.
To learn more about ClevelandDotNet, visit http://www.ClevelandDotNet.info
Local Microsoft Events
Microsoft will be sponsoring 2 events tomorrow in the Cleveland area. TechNet will take place in the moring, 8:00 AM - Noon, and will cover SQL Server 2005. The MSDN event will take place 1:00 PM- 5:00 PM, and will cover Visual Studio 205. The demonstrations are very informative and the DVDs distributed contain manyweb casts, tutorials and trial software. All this, free of charge.
String manipulation in VB2005 is fairly simple. However, things can get a little tricky with the double quote character. How do you look for it in a string? How can you insert into a string? How do you remove it from a string? These are questions that may lead to confusion if you don't know what you're looking for.
Ironically enough, in VB the double quote can also be used as an escape character when searching for it in a string. For example:
Dim strTest As String strTest = """123""" 'Displays "123" (double quotes appear in the final result) strTest = """""123""" 'Displays ""123" (double quotes appear in the final result) strTest = "test\""test" 'Displays test\"test strTest = "test""test" 'Displays test"test
In cases where you want to insert a double quote character, simply reference it unicode character designation, chr(34).…