how can we get the last 5 charecter of string?
how can we get the last 5 charecter of string?
for eg
9991901628387
i want28387
thanks
how can we get the last 5 charecter of string?
for eg
9991901628387
i want28387
thanks
Dim s As String = "9991901628387"
Dim lastFive As String = s.Substring(s.Lengh - 5)
or use the Right function from the VB library.