Question : get last 4 digit

HOw to get the last 4 digit of account numbers?

sample

45654545
458776
1231213213131
78745411
4521321212131231

Answer : get last 4 digit

dim origString as string =  "abc1234567"

dim newString as string = origString.Substring(orgString.Length - 4,4)

OR

Dim origString As String = "abc1234567"
Dim newString As String = Right(origString, 4)
Random Solutions  
 
programming4us programming4us