Recent Posts
Calendar
October 2013
S M T W T F S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Archive for the ‘Advanced VB.NET’ Category

VB.NET – Char from String with Option Strict

G04B0079 So here’s the question:

I’m using String.Split() and need to pass in a Char or a Char array as the parameter.  If I pass in a string String.Split(“/”) I get an error “Option Strict On disallows implicit conversions from ‘String’ to ‘Char’.”

Obviously, the easiest way to fix this would be to turn off Option Strict, but I would prefer to keep it on.  So how do I pass in the Char instead of a String in this situation?”

Read the rest of this entry »