java2python
java2python copied to clipboard
bug: string.length() - 1 ==> 1 - len(string)
convert if ('%' == pct.charAt(pct.length() - 1)) {} into: if '%' == pct.charAt(1 - len(pct)):