I am currently working in vb.net express 2013. I am using windows form applications. I need to pull the third from last number in a string of numbers without getting the other numbers behind it. I found this question on this website, [Get last 5 characters in a string](https://stackoverflow.com/questions/2813505/get-last-5-characters-in-a-string), which is very close to what I need. However, this code pulls ALL of the last 5 characters, and in my code, I need the third to last without any other numbers. For example, if you take the number "917408," I need to select the "4." With this I am going to create an IF statement based on what number is returned from the original long number.

```
      'Ghost Floor
    If CBJob1.Visible Then
        If Shear1.Text >= 3 Then
            Dim ghostshear1 As String = Shear1.Text
            Dim len = ghostshear1.Length
            Dim result = ghostshear1.Substring(len - 3, 1)
            MsgBox(result)
        End If
    End If

```