What is the .NET version that accept two param as (string , integer) and does the same job .
VB Code:
Dim sBuffer As String sBuffer = VB.Left(sBuffer, lNullPos - 1)
Printable View
What is the .NET version that accept two param as (string , integer) and does the same job .
VB Code:
Dim sBuffer As String sBuffer = VB.Left(sBuffer, lNullPos - 1)
i dont quite follow if you want the Left equivalent , but here's an example ( you use SubString in .net rather than Left )
VB Code:
Dim sBuffer As String = "some text".Substring(0, 4) MessageBox.Show(sBuffer)
Thank You . :)