4 Replies Latest reply on Oct 17, 2018 1:18 AM by Prabaharan Pichaiyan

    VBA Left option in vb.net

    Prabaharan Pichaiyan



      I'm doing conversion of programming language from VBA to VB.Net And facing some issues with "left" string option.

      Any one help me to solve this?


      vba code :

      PartName2 = Left(PartName1, InStrRev(PartName1, ".") - 1)


      may i know how to convert these vba codes to vb.net?