nutsukae

i want to change my c# string into vb string but i really dont know how to do

my c# string is

Code Snippet

string d = '"' + "http://xxx/" + '"' + " -O " + '"' + "/tmp/xxx" + '"' + " " + '"' + "+*.xxx/*" + '"';



how can i change it


Re: Visual Basic General how can i change c# string into vb string

Suprotim Agarwal

Dear nutsukae,

Try this

Dim d As String = """"c & "http://xxx/" & """"c & " -O " & """"c & "/tmp/xxx" & """"c & " " & """"c & "+*.xxx/*" & """"c

HTH,
Suprotim Agarwal

-----
http://www.dotnetcurry.com
-----






Re: Visual Basic General how can i change c# string into vb string

nutsukae

thx for coming its really helpful


can u change another one for me pls


Code Snippet

start = Convert.ToInt32(cut.IndexOf("a href=" + '"' + "http://"));








Re: Visual Basic General how can i change c# string into vb string

Suprotim Agarwal

Sure Smile

start = Convert.ToInt32(cut.IndexOf("a href=" & """"c & "http://"))

In fact you can use an online convertor to do the same.

HTH,
Suprotim Agarwal

-----
http://www.dotnetcurry.com
-----






Re: Visual Basic General how can i change c# string into vb string

nutsukae

Thank you 4 suggestion