Re: [Lang]Consult

2021-12-03 Thread time_crossing
will. This will: System.out.println(StringUtils.split(code,"_")[1]); On Fri, Dec 3, 2021 at 12:29 PM time_crossing wrote: Hi. When I write this code: class Solution{ public static void main(String[] args) { String code = "constant_true"; System.out.println(StringUtils.split

Consult

2021-12-03 Thread time_crossing
Hi. When I write this code: class Solution{ public static void main(String[] args) { String code = "constant_true"; System.out.println(StringUtils.split(code,"constant_")[0]); } } I hope it retrun “true". But it return “rue”. Is it a bug? Should I try to fix it?