natural / java2python

Simple but effective library to translate Java source code to Python.
GNU Lesser General Public License v2.1
564 stars 243 forks source link

translate String.charAt into [] #51

Open mw66 opened 6 years ago

mw66 commented 6 years ago

I've seen String.length been translated to len(string)

how about String.charAt into string[] and String.substring(b, e) into string[b:e] ?