AnsweredAssumed Answered

VBA Left option in vb.net

Question asked by Prabaharan Pichaiyan on Oct 16, 2018
Latest reply on Oct 17, 2018 by Prabaharan Pichaiyan

Hi,

 

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?

 

Thanks

 

 

 

Outcomes