Hi All,
Is there any way we can use the string functions of "Right" and "Left" of VB in VB.Net as it is.
Thanks and regards.
Zubair Younas.
Printable View
Hi All,
Is there any way we can use the string functions of "Right" and "Left" of VB in VB.Net as it is.
Thanks and regards.
Zubair Younas.
I believe you can.
Insert this at the top of your file
Imports Microsoft.VisualBasic
I have tried it but it didn't work for 'Right" and "Left".
Use the entire name Microsoft.VisualBasic.Right(string.....) although I would recommend converting to .NET stff and avoid the Microsoft.VisualBasic namespace when possible.
Left worked for me and I didn't have to fully qualify the name.
I agree we should avoid use of Microsoft.VisualBasic when possible.