Avatar of dlnewman70
dlnewman70
 asked on

Simple script needed from VB to Jython

I am trying to convert a simple string command of VB code into jython.

If Mid(VarValues(17),11,1) <> "E" Then Result = "E_312" Else Result = Right(VarValues(17),5) End If

How would this be written in Jython code?
Python

Avatar of undefined
Last Comment
Walter Ritzel

8/22/2022 - Mon
SOLUTION
Mark Brady

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Walter Ritzel

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61