B
Brian Shannon
Is there a VB.NET function to find the right most characters of a string
similiar to Microsoft.VisualBasic.Right?
I am currently using the below code to find the right most characters and am
wondering if there is a more efficient or better way to do the same.
dim x as string
dime y as string
dim lastIndexof as stirng
x = New StringBuilder(WhereFunction)y = x.Length
lastIndexof = x.ToString.LastIndexOf(" ")
If y = lastIndexof Then
y = y
End If
similiar to Microsoft.VisualBasic.Right?
I am currently using the below code to find the right most characters and am
wondering if there is a more efficient or better way to do the same.
dim x as string
dime y as string
dim lastIndexof as stirng
x = New StringBuilder(WhereFunction)y = x.Length
lastIndexof = x.ToString.LastIndexOf(" ")
If y = lastIndexof Then
y = y
End If