• Left
  • per estrarre da sinistra

    esempio:
    Dim a As String
    a = "qwErtyuiopaEr"
    MsgBox (Left(a, 4)) restituisce qwEr




  • Right
  • per estrarre da destra

    esempio:
    Dim a As String
    a = "qwErtyuiopaEr"
    MsgBox (Right(a, 4)) restituisce paEr




  • Mid
  • per estrarre porzioni di stringa

    esempio:
    Dim a As String
    a = "qwErtyuiopaEr"
    MsgBox (Mid(a, 4, 3)) restituisce rty (non inseriamo il terzo parametro la funzione Mid restituisce la restante parte della stringa nel caso in esempio dal quarto carattere fino alla fine (rtyuiopaEr).