Remove Characters?

Hi,
Could someone please point me to how I replace the middle line of my code below?

If Len(FinalHexadecimal) = 9 then STRIP OFF THE FIRST, FOURTH AND SEVENTH CHARACTERS AND SET FINAL HEXADECIMAL TO THE REMAINING CHARACTERS end if

I have no idea what to look for in the LR?
Thanks in advance.

http://documentation.xojo.com/index.php/Mid

If Len(FinalHexadecimal) = 9 Then
     FinalHexadecimal = Mid( FinalHexadecimal, 2, 2)  _
                          +  Mid( FinalHexadecimal, 5, 2) _
                          +  Mid( FinalHexadecimal, 8, 2)
End If

Thank you both very much!